-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
First off, thanks for this util! ❤️
I've noticed that titles with ampersands are breaking the parser, e.g.
python parse.py 'org-protocol://capture?template=w&url=https%3A%2F%2Fexample.com&title=foo%20%26%20bar'should send the title "foo & bar" through, but only characters up to the ampersand are sent ("foo " with a trailing space). This is also the case with equal signs (=).
I've worked around this by modifying parse.py but I'm not sure this is correct. Also not sure if there are other characters that cause parsing to break.
raw_url = six.moves.urllib.parse.unquote(url.replace('%26', '%2526').replace('%3D', '%253D'))Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels