[issue25005] webbrowser breaks on query strings with multiple fields on Windows
Steve Dower
report at bugs.python.org
Sat Sep 5 20:53:03 CEST 2015
Steve Dower added the comment:
Here's an alternative to backing out the change, and it's simpler than I expected when I said it would be too much for 3.5.0.
We add an 'arguments' parameter to os.startfile and use that instead of subprocess.call(shell=True). The underlying ShellExecute call does not do any argument processing, so you can pass through any arguments you like.
In the attached patch, I only added the argument for when Unicode strings are used, since byte strings are deprecated, but it's fairly trivial to add it to both. I'll add a backout patch next so they can be compared.
----------
keywords: +patch
Added file: http://bugs.python.org/file40375/25005_1.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25005>
_______________________________________
More information about the Python-bugs-list
mailing list