• Upload problem

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #42647  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
 #42653  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.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.