Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hashtag is not being properly urlencoded #48

Open
jneidel opened this issue Jul 30, 2023 · 0 comments
Open

Hashtag is not being properly urlencoded #48

jneidel opened this issue Jul 30, 2023 · 0 comments

Comments

@jneidel
Copy link

jneidel commented Jul 30, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant