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

[small] Escape closing parentheses and multiple angle brackets #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sitaktif
Copy link

@sitaktif sitaktif commented Dec 2, 2022

Changes:

  • escape parentheses so that the URL doesn't get truncated (and gets displayed correctly in reading view) when it contains parentheses.
  • escape all angle brackets in the url (it used to only escape the first occurrence).

One can try pasting an URL such as https://something.com?foo=(())<<>>123 for testing before/after this change.

Changes:
- escape parentheses so that the URL doesn't get truncated (and gets
  displayed correctly in reading view) when it contains parentheses.
- escape all angle brackets in the url (it used to only escape the first
  occurrence).
@sitaktif
Copy link
Author

sitaktif commented Dec 9, 2022

@denolehov want to have a quick look? It's a short one 🙂

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

Successfully merging this pull request may close these issues.

None yet

1 participant