createTab truncates URLs containing = sign in version 2.3.1 Firefox
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
The createTab command in Vimium appears to be broken in both Firefox and Chrome when the URL contains an = sign. Specifically, when trying to open YouTube videos, the URL is truncated at the = sign, causing the new tab to fail to load the correct page.
To Reproduce
Steps to reproduce the behavior:
- Add a mapping:
map g2 createTab window https://www.youtube.com/watch?v=8ZtInClXe1Q - Save options
- Press the mapped key (g2 in this example).
Temporary Solution
Appending a dummy parameter after the = sign prevents the URL from being truncated:
map g2 createTab window https://www.youtube.com/watch?v=8ZtInClXe1Q&themeRefresh=1
Browser and Vimium version
Firefox 147.0.2
Vimium 2.3.1
For version 2.4.0 this issue is resolved.
Google Chrome | 144.0.7559.133
Vimium 2.4.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the createTab command and reproduce the mapping using the YouTube URL containing an equals sign on Vimium 2.3.1. Compare its behavior with version 2.4.0; the issue is done when the complete URL opens without truncation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100