Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149215 - www-client/mozilla-firefox-1.5.0.7 has trouble with URLs containing ","
Summary: www-client/mozilla-firefox-1.5.0.7 has trouble with URLs containing ","
Status: RESOLVED DUPLICATE of bug 150404
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-26 12:33 UTC by Tobias Klausmann (RETIRED)
Modified: 2006-10-13 10:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2006-09-26 12:33:34 UTC
Compare using this command:

firefox http://www.spiegel.de/wissenschaft/weltraum/0,1518,437267,00.html

versus setting the environment as the firefox script does and then running this:

/usr/lib64/mozilla-firefox/firefox http://www.spiegel.de/wissenschaft/weltraum/0,1518,437267,00.html

(note that I use lib64 since I run an amd64 system)

The result of the first command is a 404 since the firefox startup script (i.e. mozilla-launcher) munges the URL into http://www.spiegel.de/wissenschaft/weltraum/0,1518,437267 cutting off ",00.html"
The second command works flawlessly.

Since "," is perfectly valid in URLs, this is a bug. I suspect some form of function parm (un)quoting doesn't quite work as planned.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-26 13:12:42 UTC
(In reply to comment #0)
> firefox http://www.spiegel.de/wissenschaft/weltraum/0,1518,437267,00.html

Works perfectly fine here with www-client/mozilla-launcher-1.52-r1
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2006-10-13 10:50:51 UTC
I've digged into this a little deeper.

Turns out mozilla-launcher calls this command:

/usr/lib64/mozilla-firefox/mozilla-xremote-client -a firefox 'openURL(http://www.spiegel.de/wissenschaft/weltraum/0,1518,437267,00.html)'

(at least on my machine, and the quoting ' is by me for cmdline usage).

mozilla-xrmote-client eats the ",00.html" on my machine. As it is a binary, I can't really debug it.

This doesn't explain why it works for you, Jakub. Yet, everything beyond the call to mozilla-xremote-client would be speculation on my part now.

As that binary belongs to the mozilla-firefox package, I'm changing the subject accordingly.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-10-13 10:52:58 UTC

*** This bug has been marked as a duplicate of 150404 ***