[Bug 19132] New: winebrowser: when URL is passed as file://url with anchor or query included it fails to open
http://bugs.winehq.org/show_bug.cgi?id=19132 Summary: winebrowser: when URL is passed as file://url with anchor or query included it fails to open Product: Wine Version: 0.9.51. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: jsmith(a)argotecinc.com Launching a URL with winebrowser that is of type file:// that includes a query or anchor at the end fails with this message: Error showing url: The specified location is not supported Launching the same URL with winebrowser using type http:// works. Launching the same URL with winebrowser using type file:// without the query or anchor works. Tested under 0.9.51 and current git (wine-1.1.24-294-g9d71c13) Example of how to reproduce: Go to http://www.winehq.org/docs/wineusr-guide/introduction and save the page (I saved it to Desktop/testing in this example) Four tests - the final one shows the problem: This works opening the Wine user guide introduction page: $ wine winebrowser 'http://www.winehq.org/docs/wineusr-guide/introduction' This works opening the Wine user guide introduction page: $ wine winebrowser 'file:///c:/user/jsmith/Desktop/testing/Introduction.html' This works opening the Wine user guide introduction page at section "1.1.2 Further Questions and Comments": $ wine winebrowser 'http://www.winehq.org/docs/wineusr-guide/introduction#AEN11' This doesn't open the Wine user guide introduction page at all (should open section 1.1.2 same as above): $ wine winebrowser 'file:///c:/user/jsmith/Desktop/testing/Introduction.html#AEN11' Error showing url: The specified location is not supported -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19132 Jake Smith <jsmith(a)argotecinc.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsmith(a)argotecinc.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19132 --- Comment #1 from Hans Leidekker <hans(a)meelstraat.net> 2009-06-30 03:56:58 --- Created an attachment (id=22100) --> (http://bugs.winehq.org/attachment.cgi?id=22100) winebrowser: Support file URLs with a query or an anchor. Try this. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19132 --- Comment #2 from Jake Smith <jsmith(a)argotecinc.com> 2009-06-30 08:57:20 --- Patched against current git and the patch fixed the problem with anchors. Still having problem with query. Different error message now. This is the command I'm trying to run: $ wine winebrowser file\://c\:/users/jsmith/Desktop/Server/fpweb/index.htm\?dirname=CPA\&pagename=add\.htm This is the message that is gives now (before it was location not supported): Error showing url: Error stating file '/home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm?dirname=CPA&pagename=add.htm': No such file or directory If I run using firefox it works: $ firefox file\://z\:/home/jsmith/Desktop/Server/fpweb/index.htm\?dirname=CPA\&pagename=add\.htm These works after patch: $ wine winebrowser file\://c\:/users/jsmith/Desktop/Server/fpweb/index.htm#top $ wine winebrowser file\://c\:/users/jsmith/Desktop/test/introduction.html#AEN11 If you need any more info please let me know. Thanks for the quick response! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19132 --- Comment #3 from Hans Leidekker <hans(a)meelstraat.net> 2009-06-30 15:59:31 --- Created an attachment (id=22115) --> (http://bugs.winehq.org/attachment.cgi?id=22115) Debug version. Query URLs work for me. Please try this version which adds some debug traces and attach a WINEDEBUG=+winebrowser log. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19132 --- Comment #4 from Jake Smith <jsmith(a)argotecinc.com> 2009-06-30 17:20:31 --- Will test and post logs first thing in the morning -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19132 --- Comment #5 from Jake Smith <jsmith(a)argotecinc.com> 2009-07-01 09:29:58 --- Created an attachment (id=22131) --> (http://bugs.winehq.org/attachment.cgi?id=22131) WINEDEBUG=+winebrowser with debug patch applied -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19132 Jake Smith <jsmith(a)argotecinc.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #22131|WINEDEBUG=+winebrowser with |log - description|debug patch applied |WINEDEBUG=+winebrowser with | |debug patch applied -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19132 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hans(a)meelstraat.net --- Comment #6 from Hans Leidekker <hans(a)meelstraat.net> 2009-07-01 10:30:27 --- Error showing url: Error stating file '/home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm?dirname=CPA&pagename=add.htm': No such file or directory Looks like xdg-open is unable to open that url on your system. As the added traces show, the file url handed to xdg-open is well-formed and when I setup a similar test I cannot reproduce that error. What does this command give: xdg-open file:///home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm?dirname=CPA&pagename=add.htm and this one: xdg-open file:///home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm and this one: xdg-open /home/jsmith/Desktop/Server/fpweb/index.htm ? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19132 --- Comment #7 from Jake Smith <jsmith(a)argotecinc.com> 2009-07-01 10:44:27 --- I agree (so maybe I should now be putting a bug report in for xdg-open!) I don't know why it's trying to stat the file... The first test: $ xdg-open 'file:///home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm?dirname=CPA&pagename=add.htm' Error showing url: Error stating file '/home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm?dirname=CPA&pagename=add.htm': No such file or directory The second and third successfully open the index page: $ xdg-open 'file:///home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm' $ xdg-open /home/jsmith/Desktop/Server/fpweb/index.htm Just for further info if I run: firefox 'file:///home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm?dirname=CPA&pagename=add.htm' it works just fine. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19132 --- Comment #8 from Hans Leidekker <hans(a)meelstraat.net> 2009-07-01 11:46:39 --- What desktop are you on? Grepping the xdg-open script for those error messages brings up nothing, so they must come from one of backends that the script calls. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19132 --- Comment #9 from Jake Smith <jsmith(a)argotecinc.com> 2009-07-01 14:00:54 --- Desktop is gnome. Looked into the xdg-open script... Should use gnome-open... Tried it... $ gnome-open 'file:///home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm?dirname=CPA&pagename=add.htm' Error showing url: Error stating file '/home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm?dirname=CPA&pagename=add.htm': No such file or directory Works: $ gnome-open 'file:///home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm' $ gnome-open 'file:///home/jsmith/Desktop/test/introduction.html#AEN11' ... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19132 --- Comment #10 from Austin English <austinenglish(a)gmail.com> 2009-07-02 09:46:11 --- Patch committed: http://source.winehq.org/git/wine.git/?a=commitdiff;h=dff300c04b9a5dff487f30... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19132 Jake Smith <jsmith(a)argotecinc.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #11 from Jake Smith <jsmith(a)argotecinc.com> 2009-07-17 12:19:34 --- Commit dff300c04b9a5dff487f304fcf2f72b6eeb01bda fixed bug. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19132 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #12 from Alexandre Julliard <julliard(a)winehq.org> 2009-08-07 12:51:42 --- Closing bugs fixed in 1.1.2,7. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org