Page 1 of 1

Upload problem

PostPosted:Fri Nov 25, 2016 2:21 pm
by mmachnio
Hello,

Uploading a document doesn't work in firefox after upgrade to version 50. This issue is similar to:
https://forum.openkm.com/viewtopic.php?f=4&t=9802

OpenKM community version: 6.3.0 (build 8156)
Affected systems: Windows (7 Professional service pack 1) and Linux (Arch).

Details:
There is a difference in the body of the request: POST /OpenKM/frontend/FileUpload HTTP/1.1

for firefox 49: Content-Disposition: form-data; name="uploadFormElement"; filename="a.txt"
for firefox 50: Content-Disposition: form-data; name="uploadFormElement"; filename="/a.txt"

Workaround from thread 9802 helps, but is there any better solution?

Regards,
Marcin

Re: Upload problem

PostPosted:Sun Nov 27, 2016 10:48 am
by jllort
I think might be a bug in firefox, because the correct filenName should be "a.txt" not "/a.txt" or full path like "/home/user/Desktop/a.txt".

I suggest move for some days to chrome and wait for the next firefox release. You can also report or look for more information at mozilla forums.