willie68 / GoBlobStore

A multi-tenant proxy service for storing binary data in various storage systems with a simple HTTP interface.
Apache License 2.0
0 stars 0 forks source link

Umlauts in file names are not processed correctly #32

Closed willie68 closed 1 year ago

willie68 commented 1 year ago

Umlauts in file names are not processed correctly. If you upload via direct upload, the filename with umlauts will be destroyed on saving. You will never get the right name back. If you are using the Form Upload, the filename is saved correctly, but in the Content_Disposition header the name is unreadeble.

willie68 commented 1 year ago

The GoBlobStore can now handle special characters in file names. However, on the opposite side, the headers must also be encoded according to RFC8187 (this is the current RFC). The usual browsers as well as Postman etc. can probably do this.) If the direct binary upload is used, the corresponding filename header itself must be encoded according to RFC8187. Only then will it work correctly.