Skip to content

Bug: Non ISO-8859-1 filenames cannot be downloaded with AWS #302

@sngular-rplaza

Description

@sngular-rplaza

Hi there.

I have an issue using quotation marks in filenames. When i use it, i have this error produced by download stage in Gokapi. This is the file in Gokapi dashboard, pointing to S3 bucket as backend in my cloudconfig.yml:

Image

And this is the error when i download it:

Image

I don't have much experience using Go, so my knowledge is very limited, but i saw that don't have any UTF-8 support for filenames. I don't really know how to write it in code, but i think it could be something like this example inside download procedure:

Content-Disposition: attachment; filename="fallback.pdf"; filename*=UTF-8''Informe_%C3%A1rea.pdf

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions