Hello!

A while back, I discovered that mozilla-launcher is causing problems,
when the URL contains a "," (comma); eg. 
http://www.spiegel.de/wirtschaft/0,1518,447923,00.html

In Knode/KDE, I configured, that firefox is to be used as the browser,
so that when I click on a URL, it's loaded in firefox. I did this by
modifying .kde/share/config/kdeglobals and adding/changing:

[General]
BrowserApplication=!/usr/bin/firefox

That can also somehow be done with kcontrol.

This works well - when I click on a URL, /usr/bin/firefox is run
with one parameter, which is the URL. But if the URL contains
a comma (like the example URL further up), that site isn't correctly
loaded. Instead of http://www.spiegel.de/wirtschaft/0,1518,447923,00.html
it would load http://www.spiegel.de/wirtschaft/0,1518,447923. Reason is, that 
firefox executes mozilla-launcher which will eventually run 
"mozilla-xremote-client openURL($u)". The problem with that is,
that openURL accepts two parameters and they are seperated with
a ,. So it sees two parameters: http://www.spiegel.de/wirtschaft/0,1518,447923 
and
00.html - 00.html is not a valid parameter, though. It should be
something like new-window.

When I use the "original" Firefox from mozilla.com, there's no such
problem. That is so, because the original firefox script doesn't
use openURL anymore.

I now changed the /usr/bin/firefox script so, that it doesn't
use mozilla-launcher anymore. Up to now, I can't find any problems.

What problems did I overlook? And what's actually the use of
mozilla-launcher with current firefoxes?

What would break, if mozilla-launcher is no longer used?

Cf. https://bugs.gentoo.org/show_bug.cgi?id=150404

There's now a patch added to this bug, but I actually object
this patch. This patch replaces , in the parameters with
%2c (%2c = ,). At a first glance, this patch seemed somewhat
fine.

Having had a closer "look" at this, I dislike this patch. Reason:
Up to now firefox eventually runs the openURL remote command. Users
might know this and might make use of this. So a user might call
"firefox http://gentoo.org/,new-tab"; to have http://gentoo.org/
opened in a new tab. If this patch is applied, this won't work
anymore.

I'd like to suggest, that mozilla-launcher is no longer a dependency
of firefox and is no longer used, as I fail to see, what advantages
m-l brings.

Thanks,

Alexander Skwar
-- 
Well, hey, let's just make everything into a closure, and then we'll
have our general garbage collector, installed by "use less memory".
             -- Larry Wall in <[EMAIL PROTECTED]>


-- 
gentoo-dev@gentoo.org mailing list

Reply via email to