Discussion:
[okular] [Bug 369043] New: links to local files do not interpret %20 as space
via KDE Bugzilla
2016-09-19 10:38:26 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=369043

Bug ID: 369043
Summary: links to local files do not interpret %20 as space
Product: okular
Version: 0.24.0
Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: okular-***@kde.org
Reporter: ***@gmail.com

I've a pdf, generated with pandoc, wich links to another pdf. Since the name of
the linked pdf contains spaces, the URI is formatted like this:
file:///home/me/file%20linked.pdf . okular reads %20 as %20, not as spaces and
thus doesn't find the file.

Interestingly this error does not happen (spaces are read correctly) when I
link a file in the local directory. (e.g.: when opening a file in /home/me,
okular opens correctly the link to the file /home/me/file linked.pdf) even
though evince tooltip tells me that the URI is formatted the same way

Reproducible: Always

Steps to Reproduce:
1. generate a pdf containing a link to another pdf with spaces in its filename
OR
2. download this pdf (
https://www.dropbox.com/s/829zrampnulwdl5/example.pdf?dl=0 ) which links to
"good link.pdf" in the current directory and to "bad link.pdf" in /home
AND
3. move two pdfs to those paths

Actual Results:
error message 'could not open "/home/me/file%20linked.pdf'. file does not exist

Expected Results:
opens linked pdf
--
You are receiving this mail because:
You are the assignee for the bug.
Sebastian
2018-11-17 19:29:17 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=369043

Sebastian <***@tum.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WAITINGFORINFO
CC| |***@tum.de
Status|REPORTED |NEEDSINFO

--- Comment #1 from Sebastian <***@tum.de> ---
Hey Lorenzo,

sorry for responding so late.
The link to the dropbox is dead for me.

If some maintainer looks here it would be beneficial to safe the file here so
that it can be tested in the future.

Is it possible that you can upload the file here?

Thanks for your help.

Note: I am no maintainer but from the KDE Bugsquad
--
You are receiving this mail because:
You are the assignee for the bug.
Sebastian
2018-11-17 19:29:34 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=369043

Sebastian <***@tum.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords| |triaged
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...