Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 215110

Summary: www-client/mozilla-launcher doesn't open a list of URLs with whitespace (mozilla-launcher problem, patch included)
Product: Gentoo Linux Reporter: bazurbat
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED WONTFIX    
Severity: trivial CC: dominique.c.michel
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fixes quoting issue of URLs and extending sleep time if no instances are running
mozilla-launcher ebuild for the patch

Description bazurbat 2008-03-27 21:35:27 UTC
Giving firefox a list of URLs with spaces in them by command-line or selecting and opening several files in konqueror fails due to truncation of given URLs after first whitespace. This is not happening with no firefox running and giving only one URL.

Reproducible: Always

Steps to Reproduce:
1. Select several html files with names containing spaces in konqueror
2. Select "Open with Firefox"
----
1. cd to dir containing several html files with names with spaces
2. run: firefox '<long file name>.html' '<another file>.html', replacing text between <> with actual filenames

Actual Results:  
Firefox displays "Error loading page" with URL truncated. Ex. given "file:///some file.html" will try to display "file:///some"

Expected Results:  
All URLs loaded properly
Comment 1 bazurbat 2008-03-27 21:41:25 UTC
Created attachment 147474 [details, diff]
Fixes quoting issue of URLs and extending sleep time if no instances are running

* fixes quoting issue of URLs
* extending sleep time to 2 seconds if no mozilla instances are running before opening additional URLs
Comment 2 Dominique Michel 2008-04-01 20:46:19 UTC
Created attachment 148005 [details]
mozilla-launcher ebuild for the patch

I get the same problem with mc. The URL get trunvated at the first space in the "path/filename". This patch solve this problem.
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2008-07-18 17:29:04 UTC
mozilla-launcher is going to be phased out with firefox 3