toqueteos/webbrowser

Complex url under Windows problem

Closed this issue · 5 comments

Try start http://httpbin.org/get?a=1&b=2
or start "http://httpbin.org/get?a=1&b=2"
Will be opened only http://httpbin.org/get?a=1 or another cmd.

To fix this you must use:
start "%ProgramFiles%\Internet Explorer\iexplore.exe" "http://httpbin.org/get?a=1&b=2"
with " around url.

Best regards

It seems & needs to be escaped both on Windows ^& and Unices \&.
There's no need to use IE for this.

I can add a dirty replace patch but it won't deal with all other non-escaped chars.

Working now.

Thank you.

Escaped ampersands break url's under Linux Firefox. They are not getting un-escaped.

@emiddleton Can you please write an example URL that won't work on Linux Firefox? Will test and fix asap. EDIT: Try with latest master.

@toqueteos Thanks that fixed it.