homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mgiuca
Recipients AdrianP, mgiuca
Date 2008年07月10日.15:44:08
SpamBayes Score 0.0006204805
Marked as misclassified No
Message-id <1215704650.98.0.113252448451.issue3330@psf.upfronthosting.co.za>
In-reply-to
Content
I was able to duplicate this, but it's an issue with Firefox, not
Python. webbrowser.open(url) just passes url as a command line argument
to the web browser; it doesn't do any manipulation.
Note that you get the exact same behaviour if you run Firefox from the
command line:
> firefox 'http://foo.com/bar.html?var=x|y|z'
Opens this URL in a new tab if it's already open, but splits on '|' and
opens in 3 separate tabs if Firefox isn't running.
Note also that while this string is a URL, it isn't properly normalized.
This works fine if you call
webbrowser.open("http://foo.com/bar.html?var=x%7Cy%7Cz")
(Which you can only obtain programmatically by generating the URL
properly in the first place, by using urllib.urlencode, or urllib.quote
on the value string "x|y|z").
History
Date User Action Args
2008年07月10日 15:44:11mgiucasetspambayes_score: 0.000620481 -> 0.0006204805
recipients: + mgiuca, AdrianP
2008年07月10日 15:44:11mgiucasetspambayes_score: 0.000620481 -> 0.000620481
messageid: <1215704650.98.0.113252448451.issue3330@psf.upfronthosting.co.za>
2008年07月10日 15:44:10mgiucalinkissue3330 messages
2008年07月10日 15:44:09mgiucacreate

AltStyle によって変換されたページ (->オリジナル) /