This discussion is related to the
FileUpload addon.
Hi,
Some people, including me, experience the issue that the upload doesn't work, because the progress bar keeps loading.
To the left of the progress bar appears "only" in Chrome:
C:\fakepath\filename.jpg ...
"fakepath ?" whats happening here.
Upload doesn't work and progress bar keeps loading under Safari, Chrome, Firefox.
Thanx for help!
0 • •
Answers
seems like this is a unerased snippet of development process. May this should replace anything so the script could be tested or something.
I think it might be helpful to have the source of that string - so search for "fakepath" in the add-on files
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •a search in the web let me guess this comes from your browser.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Does anyone have an idea how to conquer that upload problem?
VanillaSkins.com Themes / Custom Themes / Design & Graphics for Vanilla
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •http://acidmartin.wordpress.com/2009/06/09/the-mystery-of-cfakepath-unveiled/
@Tim - thoughts?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Vanilla Forums Senior Developer [GitHub, Twitter, About.me]
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •http://www.w3.org/TR/html5/number-state.html#file-upload-state
"For historical reasons, the value IDL attribute prefixes the filename with the string "C:\fakepath\". Some legacy user agents actually included the full path (which was a security vulnerability). As a result of this, obtaining the filename from the value IDL attribute in a backwards-compatible way is non-trivial. (...)"
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •