When uploading, I'm allowed to upload with non UTF-8 characters. However, when I want to view / download it, I get error 500.
Steps to reproduce
Use aws s3 sync s3://my-bucket ./folder which includes escaped names such as (5_Pavel+Kub%C3%AD%7Fek.pdf or X+19-20/6_Mark%C3%A9ta+Dosoudilov%C3%A1+-+jedin%7F+v%7Fjezd+2020+(k+%7Fervnu).pdf),
Upload folder into OCIS via WebUI - Folder upload,
Try to view the file.
Expected behaviour
Either disallow user to upload such file or sanitise names on upload.
Actual behaviour
File is uploaded keeping its name, however, cannot be viewed.
Additional context
File can be renamed and it starts working then. However, name editor is acting strange when rendering non-compliant characters.
ownCloud v10 has also trouble rendering such characters, however, it allows for displaying them without issue.
Describe the bug
When uploading, I'm allowed to upload with non UTF-8 characters. However, when I want to view / download it, I get error 500.
Steps to reproduce
aws s3 sync s3://my-bucket ./folder
which includes escaped names such as (5_Pavel+Kub%C3%AD%7Fek.pdf
orX+19-20/6_Mark%C3%A9ta+Dosoudilov%C3%A1+-+jedin%7F+v%7Fjezd+2020+(k+%7Fervnu).pdf
),Expected behaviour
Either disallow user to upload such file or sanitise names on upload.
Actual behaviour
File is uploaded keeping its name, however, cannot be viewed.
Additional context
File can be renamed and it starts working then. However, name editor is acting strange when rendering non-compliant characters.
ownCloud v10 has also trouble rendering such characters, however, it allows for displaying them without issue.
OCIS:
ownCloud 10: