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@winehq.org ReportedBy: jsmith@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