If foo.html exists, then: $ xdg-open foo.html opens a web browser, but $ xdg-open foo.html?a=b gvfs-open: file:///home/samth/tmp/time/racket-full-5.2.1.5/collects/typed-racket/foo.html%3Fa=b: error opening location: Error stating file '/home/samth/tmp/time/racket-full-5.2.1.5/collects/typed-racket/foo.html?a=b': No such file or directory Note that: $ firefox foo.html?a=b works correctly
Created attachment 98059 [details] [review] fix for anchors and variables in urls (i.e. # and ? after file names) The interesting lines are 649, 650. The additional changes are just modified variable names, since using "command" as a variable name breaks vim syntax highlighting
Comment on attachment 98059 [details] [review] fix for anchors and variables in urls (i.e. # and ? after file names) based on arch package version: 1.1.0.git20140207-1
I'd prefer not conflating the fix for this bug and renaming variables. Is the core fix mostly in the final hunk of the proposed patch?
Looks like yes, thanks. http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=5913207e625a92b73cd9489aea4b7b10bf3eb855
*** Bug 50715 has been marked as a duplicate of this bug. ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.