atomicdata-dev / atomic-data-browser

This repo is no longer used! Code is moved to Atomic-Server
https://github.com/atomicdata-dev/atomic-server/issues
MIT License
55 stars 9 forks source link

Bug with arabic characters in filenames with authentication #242

Open joepio opened 1 year ago

joepio commented 1 year ago

See e.g. here: https://atomicdata.dev/files/1657869024662-%D8%AA%D9%87%D9%86%D8%A6%D8%A9-%D8%B9%D9%8A%D8%AF-%D8%A7%D9%84%D8%A7%D8%B6%D8%AD%D9%89-%D8%A7%D8%B3%D9%85%D9%8A.png

Authentication failed: Error checking authentication headers. Incorrect signature for auth headers. This could be due to an error during signing or serialization of the commit. Compare this to the serialized message in the client: https://atomicdata.dev/files/1657869024662-تهنئة-عيد-الاضحى-اسمي.png 1665567320278

But if I retry, and the request is sent using websockets, we get the image!

I suspect the arabic chars may cause issue with the serialization of the signature: تهنئة عيد الاضحى اسمي.png