http://bugs.winehq.org/show_bug.cgi?id=19132
--- Comment #7 from Jake Smith jsmith@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.