Hashtag is not being properly urlencoded
jneidel opened this issue · 0 comments
jneidel commented
If there is a hashtag in the name of the file being shared, you will get a 404.
Example:
File name:
Samurai, #1)-Ravensburger Buchverlag (2011).epub
Current encoding:
http://192.168.178.45:7478/Samurai,%20#1)-Ravensburger%20Buchverlag%20(2011).epub
Proper encoding:
http://192.168.178.45:7478/Samurai,%20%231)-Ravensburger%20Buchverlag%20(2011).epub
The second variant (replacing #
with %23
works).
Something seems to be going wrong here, because I used encodeURIComponent
to generate the correct url.