From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080208 Fedora/2.0.0.12-1.fc8 Firefox/2.0.0.12 Description of problem: Firefox fails to display a filename containing embedded spaces supplied as a command line argument as in firefox "/tmp/test with spaces.html" Version-Release number of selected component (if applicable): firefox-2.0.0.12-1.fc8.src.rpm How reproducible: Always Steps to Reproduce: 1. Start firefox. 2. Prepare a sample html file with spaces in the filename. 2.At a shell prompt, issue the command: firefox "/tmp/test with spaces.html" Actual Results: Firefox displayed this error message in a tab titled "Problem Loading Page": File not found Firefox can't find the file at /tmp/test%20with%20spaces.html. * Check the file name for capitalization or other typing errors. * Check to see if the file was moved, renamed or deleted. And the firefox URL window displayed the filename as follows (note the additional quoting): file:///tmp/test%2520with%2520spaces.html Expected Results: The page should have displayed correctly. Additional info: NOTES: 1. If the file is renamed to remove the embedded spaces it loads fine. 2. If firefox is NOT running when the command is issued firefox is started and loads the page correctly. 3. This issue is specific to the Fedora firefox package. It doesn't seem to occur with the identical version of firefox downloaded from the firefox website.
Sorry, you are thinking with incorrect assumption that firefox accepts filenames as parameter. It doesn't -- it is able only to open URLs, which /some/ filenames happen to be (file:// URL scheme). However, it doesn't change anything on the fact that spaces are not allowed in URLs, so you have to encode the URL with %20. So in order to open "/tmp/test with spaces.html" the only way is to open /tmp/test%20with%20spaces.html Closing as WONTFIX