Bug 131736

Summary: Firefox cannot open URIs with , in them when a window is already open.
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Dennis Lubert <plasmahh>
Component: FirefoxAssignee: E-mail List <bnc-team-mozilla>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dennis Lubert 2005-11-01 11:27:14 UTC
Hi,

sometimes in things like RSS tickers or emails one gets URIs like:
http://www.spiegel.de/auto/aktuell/0,1518,382060,00.html
with commas. While within firefox and manual copy/paste work fine, but opening a new window/tab with an already running instance shortens the URI to:
http://www.spiegel.de/auto/aktuell/0,
which is certainly not what we want. A basic workaround, maybe even a fix would be to change in /usr/bin/firefox :

298   $MOZ_CLIENT_PROGRAM $X_DISPLAY "openurl($opt)" || \
to
298   $MOZ_CLIENT_PROGRAM $X_DISPLAY "openurl(\"$opt\")" || \

i.e. quoting the URI passed to the browser.
Comment 1 Wolfgang Rosenauer 2005-11-01 11:49:07 UTC
will investigate
Comment 2 Wolfgang Rosenauer 2005-11-03 05:26:06 UTC
I couldn't reproduce the problem so far.
Given your description the command:
firefox http://www.spiegel.de/auto/aktuell/0,1518,382060,00.html
should fail.
But it doesn't for me.
Comment 3 Dennis Lubert 2005-11-03 11:04:22 UTC
The command itself does not fail, it just does not open the correct page when there is already a running firefox instance. Usually the script should do a openurl program when it detects that there is already a firefox instance running. When it does that, the URI is truncated at the first , and results in like "http://www.spiegel.de/auto/aktuell/0" which is tried to be openened and results in a 404. I have now already upgraded to the 1.5RC1 from the suse-projects, which exhibits the same behaviour.
Comment 4 Wolfgang Rosenauer 2005-11-03 11:12:04 UTC
The command really works for me and shows the correct URL. The same does it wrong for you?
Comment 5 Wolfgang Rosenauer 2005-11-21 09:46:45 UTC
This one is similar to bug #134396. At least it should be completely fixed if bug #134396 is fixed.

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