-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Encode URI for file sidebar #18724
Encode URI for file sidebar #18724
Conversation
Signed-off-by: Gary Kim <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea but encoding seems the right thing ;)
@gary-kim I'd better recommend escape() |
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/escape |
@kesselb oh okay, i didn't knew, i was just wondering if encoding |
Fixes #18721
Something to add to my checklist of "things to check for when reviewing javascript code".
Signed-off-by: Gary Kim [email protected]