[New-bugs-announce] [issue25005] webbrowser breaks on query strings with multiple fields on Windows

Brian Hou report at bugs.python.org
Sat Sep 5 01:09:09 CEST 2015


New submission from Brian Hou:

With Python 3.5.0rc2 (tested with both Git BASH and Cmder on Windows 8):

$ python3
>>> import webbrowser
>>> webbrowser.open_new('http://example.com/?a=1&b=2')
'b' is not recognized as an internal or external command,
operable program or batch file.
True

The opened page is http://example.com/?a=1 rather than http://example.com/?a=1&b=2.

Trying to open a URL with only one field works as expected.

----------
components: Library (Lib), Windows
messages: 249858
nosy: Brian Hou, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: webbrowser breaks on query strings with multiple fields on Windows
type: behavior
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25005>
_______________________________________


More information about the New-bugs-announce mailing list