Red Hat Bugzilla – Bug 92142
Files with "%20" in name cannot be opened from command line
Last modified: 2007-04-18 12:54:14 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030530
Description of problem:
If a document's filename contains the substring "%20" in its name (that is, a
percent sign followed by a 2 then a 0), it cannot be opened from the command
line. It fails with an error instead.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. cat << EOF > 'my%20test.txt'
> this is line one
> this is line two
2. ooffice 'my%20test.txt'
Actual Results: Dialog box, titled "OpenOffice.org 1.0.2". Contents:
"Error loading document file:///home/barryn/my%20test.txt:
/home/barryn/my test.txt does not exist."
(Notice the %20 was changed to a space in the second half of the error message,
but not the first half.)
After clicking OK, the same dialog box appears a second time.
Expected Results: OpenOffice.org Writer window should open up on the file, with
the two lines of text entered in step 1.
Workaround: rename the file before trying to open it. Or, open ooffice first
then use its Open command to open the file.
I think this is OpenOffice.org (upstream) bug 10226:
AFAICT Rawhide has the same version of OpenOffice as Red Hat 9 and shows the bug
too. The OOo release shipped with Red Hat 8.0 also has this bug.
openoffice.org-1.1.0-2 from rawhide does not have this bug anymore.