XUpload - Problem with 2.5

Posts: 5
Joined: May 24, 2007 2:56 am

Problem with 2.5

#1 Postby daniel » May 27, 2007 1:15 am

XUpload pro has problems with urls not ending with .html or .php, etc.

Using mod_rewrite I tried posting the form from a url like:

The result is that the XUpload Pro post_url pulls everything as $_GET's instead of $_POSTs.

I also recall that I couldn't use a url like www.domain.com/uploadsuccess.html as my post_url (even though it was mod_rewrite to a php script).

Just an FYI.

User avatar
Posts: 2187
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » May 28, 2007 6:05 am

I was trying to smart detect where we need redirect or POST, so redirecting only to .htm and .html, POSTing to other URLs.
If you need to disable redirects at all, you can remove or comment this code from upload.cgi:

Code: Select all

      print"Content-type: text/html\n\n";

Return to “XUpload”