Bug 131736 - Firefox cannot open URIs with , in them when a window is already open.
Summary: Firefox cannot open URIs with , in them when a window is already open.
Status: RESOLVED DUPLICATE of bug 134396
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Firefox (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Minor
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-01 11:27 UTC by Dennis Lubert
Modified: 2005-11-21 09:46 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***