problem with "?" inserted after the upload_url

Hi everyone,

I've tried everything and haven't found a solution to this problem. Please help if you can Smiling

I think this "feature" showed up after the version upgrade I made for SWFUpload on multiple sites i'm working on.
I am using ModRewrite to transform my URL-s to this for example: "http://www.example.com/Somepage/Someotherpage". Likewise, the upload_url I am using looks quite the same.

I noticed that SWFUpload inserts a question mark ("?") after the upload_url before sending the file. This is a problem, since the URL that is accessed on the server will look like this: http://example.com/index.php?q=upload_something? (note two question marks)

It works fine in IE, but I'm having problems in Firefox. I also noticed that this question mark has nothing to do with the javascript, so I'm guessing, it's added somewhere in ActionScript.

I would very much appreciate if you could add some clarity to this matter. Thanks a lot!

gyphie's picture

Can't reproduce

I can't reproduce this issue. If it were an actionscript issue then it should happen in both IE and Firefox.

Are you using swfupload_f8.swf or swfupload_f9.swf?

_f8 is the only version that attempts to manipulate the upload_url (by adding the post_params to the url).

Can you provide your upload_url setting, post_params, and any file_params along with more details on your OS, browser, Flash and SWFUpload versions?

Thanks, upgrading to version

Thanks, upgrading to version 9 solved the problem!

gyphie's picture

The 8 version

The 8 version sounds like it has a bug. I'll have to look into that.

I tested version _f8 with the Features demo which passes values with the URL and with post_params and file params. I could not reproduce the issue. I'm not sure what is going on.

If you still care I'd be interested in seeing your settings object and any code snippets where you add post/file params.