Url encoding bug
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version:3.1.3
- OS version: macOs 10.13 (17A405)
- Attach here (drag-drop from finder into this window)
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
- Are you reporting a performance issue or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
- Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs
Detailed steps to reproduce the problem:
1.Go to settings -> profile -> advanced -> smart selection -> email address
2. use default regex https?://([a-z0-9A-Z]+(:[a-zA-Z0-9]+)?@)?([a-z0-9A-Z][-a-z0-9A-Z]*\.)+[A-Za-z][-A-Za-z]*((:[0-9]+)?)(/[a-zA-Z0-9;/\.\-_+%?&@=#\(\)]*)?
3. in actions use open URL and \0 match
4. go to url https://my-site.example/elections/elections_private/merge_requests/new?merge_request%5Bsource_branch%5D=staging
What happened:
browser will open with url:
https://my-site.example/elections/elections_private/merge_requests/new?merge_request%255Bsource_branch%255D=staging
%5Bsource
become %255Bsource
for example
What should have happened:
Should open correct url