[Okular-devel] [Bug 195909] New: Opening file with name containing hash (#) fails

Joe A. joe at 7val.com
Wed Jun 10 17:48:18 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=195909

           Summary: Opening file with name containing hash (#) fails
           Product: okular
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: joe at 7val.com


Version:           0.8.80 (using 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2)) "release
139", KDE:KDE4:Factory:Desktop / openSUSE_11.0)
Compiler:          gcc
OS:                Linux (i686) release 2.6.25.20-0.1-pae

Okular fails to open files which have a hashmark (#) in their name. 
How to reproduce: In an xterm type

$ okular chapter#11.pdf

where chapter#11.pdf is an existing PDF file.

Okular opens with the error message
"file:///home/joe/chapter kann nicht geöffnet werden."
translated "Can not open file:///home/joe/chapter"

Okular seems to load the file using an URI, where # denotes the fragment. So I
guess the hashmark should be URL-encoded here.


$ konqueror chapter#11.pdf 

works as expected by the way

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list