We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
open("https://google.com#test 123");
will open https://google.com%23test%20123 when it should open https://google.com#test%20123. Edgy case, but threw me off.
https://google.com%23test%20123
https://google.com#test%20123
Would be nice if this would be fixed for the next poor guy searching for a way to disable escaping.
The text was updated successfully, but these errors were encountered:
What operating system?
Sorry, something went wrong.
@sindresorhus Sorry, forgot to mention.
macOS 12.1 (21C52)
Looking closer at this, it's working as expected. Unescaped space is not valid in an URL.
The native open also works this way:
open
command open 'https://google.com#test 123'
Well that's interesting. I thought I spotted a bug, but yes, it is no valid URL anyways. Well then it's fine I guess.
Thanks for looking into it.
No branches or pull requests
will open
https://google.com%23test%20123
when it should openhttps://google.com#test%20123
. Edgy case, but threw me off.Would be nice if this would be fixed for the next poor guy searching for a way to disable escaping.
The text was updated successfully, but these errors were encountered: