You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't really looked into index.js for this problem, but this doesn't occur on all urls. This only occurs when I have a space in the url I am trying to open.
To reproduce this issue on windows 10, do opn('https://www.google.com/#q=12 3&*', {app: 'Chrome'}) and the url in the browser will be https://www.google.com/#q=12 3^&*, however, if I do opn('https://www.google.com/#q=123&*', {app: 'Chrome'}) the url opened in the browser is not modified.
I noticed there is a regex replacement target.replace(/&/g, '^&') in index.js, but im not sure why it doesn't replace all the &s with ^&
The text was updated successfully, but these errors were encountered:
I haven't really looked into index.js for this problem, but this doesn't occur on all urls. This only occurs when I have a space in the url I am trying to open.
To reproduce this issue on windows 10, do
opn('https://www.google.com/#q=12 3&*', {app: 'Chrome'})
and the url in the browser will behttps://www.google.com/#q=12 3^&*
, however, if I doopn('https://www.google.com/#q=123&*', {app: 'Chrome'})
the url opened in the browser is not modified.I noticed there is a regex replacement
target.replace(/&/g, '^&')
in index.js, but im not sure why it doesn't replace all the &s with ^&The text was updated successfully, but these errors were encountered: