https://bugs.freedesktop.org/show_bug.cgi?id=49583
Bug #: 49583
Summary: VIEWING: Libreoffice does not work with %20 in
filenames on the commandline
Classification: Unclassified
Product: LibreOffice
Version: LibO 3.4.6 release
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Status Whiteboard: BSA
Severity: normal
Priority: medium
Component: UI
AssignedTo: [email protected]
ReportedBy: [email protected]
Problem description:
When a filename is specified on the commandline that contains %20, it seems the
%20 is replaced by a space before trying to open a file (even though no file://
url is used, just a plain filename).
Steps to reproduce:
1. Create a file with %20 in it:
$ touch foo%20bar.odt
2. Try to open it through the commandline:
$ libreoffice 'foo%20bar.odt'
3. Libreoffice now shows an error message: "/tmp/foo bar.odt does not exist"
(Not that /tmp is just the cwd when running these commands).
The following ways of opening the file do _not_ fail and work as expected:
- When specifying an absolute path:
$ libreoffice '/tmp/foo%20bar.odt'
- When opening the file through File->Open...
- When passing the filename urlencoded (i.e., encoding the % from %20 as %25):
$ libreoffice 'foo%2520bar.odt'
Platform (if different from the browser): Debian wheezy
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20100101
Firefox/10.0.3 Iceweasel/10.0.3
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs