Skip to content
New issue

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

Bug opening file path html file with query param #55

Closed
wwwillchen opened this issue Jun 13, 2017 · 0 comments · Fixed by #146
Closed

Bug opening file path html file with query param #55

wwwillchen opened this issue Jun 13, 2017 · 0 comments · Fixed by #146

Comments

@wwwillchen
Copy link

System: Linux (Ubuntu 14.04)
opn version: 5.1.0
xdg-open version: 1.1.2

File path with query param doesn't work:

$ ~/node_modules/opn/xdg-open /some/path/index.html?hi
xdg-open: file '/usr/local/google/home/chenwilliam/lighthouse/plots/charts/index.html?hi' does not exist

File path without query param works as expected and opens page in Chrome:

$ ~/node_modules/opn/xdg-open /some/path/index.html
Created new window in existing browser session.

Regular URL path with query param works:

https://www.paulirish.com/?hi

Seems related to this issue? https://bugs.freedesktop.org/show_bug.cgi?id=45857

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant