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

When following link with URL-encoded backslash, backslash appears unencoded in the address bar #36

Open
OlegTheCat opened this issue Feb 19, 2018 · 0 comments

Comments

@OlegTheCat
Copy link

Consider the next link: http://localhost:3000/%5C, where %5C is URL encoding of backslash. When following such link it appears as http://localhost:3000// in browser's address bar.

It seems to happen because pushy uses goog.Uri for parsing URLs and, for some reason, .getPath returns decoded URLs (doc).

Also, the resulting URL contains the slash and not a backslash, because browsers seem to replace all backslashes with slashed by default.

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