Closed dutty5 closed 2 weeks ago
Might be related (?): https://www.tenable.com/cve/CVE-2024-5692
Using FF 123.0.1 (64-bit): The described error doesn't appear. After updating to 127.0.1 (64-bit) the problem does indeed exist.
Has been fixed via https://github.com/cs3org/reva/pull/4748 and will be part of the upcoming ocis rolling release.
Describe the bug
Firefox appends underscores before and after the file name of the downloaded file
Steps to reproduce
Expected behavior
There should be no appending underscores in the filename upon download.
Actual behavior
Firefox appends underscores before and after the file name of the downloaded file
Setup
Additional context
Similar looking problem mentioned here https://stackoverflow.com/questions/22477273/firefox-and-chrome-appending-underscore-before-and-after-file-name-while-interne
However oCIS has this problem only in Firefox. Safari, Chrome and Edge seem to be fine.
[update] I checked with different file types (file extensions) and I observe this behavior with .txt, .xlsx, .docx, .tar.gz, .drawio (underscores added both in the beginning and in the end). For .pdf and *.mp4 only leading underscore is appended, and the file extension in the end of a filename remains (properly) unchanged. Characters in the filename seem to be not a factor.
[update2] Looks like something changed in latest Firefox versions (probably JS engine related). I do not see this problem in Firefox 115.10.0esr.