[okular] [Bug 463994] New: Okular fails to open HTTPS URLs to PDF files

Yann Salmon bugzilla_noreply at kde.org
Sun Jan 8 08:04:21 GMT 2023


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

            Bug ID: 463994
           Summary: Okular fails to open HTTPS URLs to PDF files
    Classification: Applications
           Product: okular
           Version: 21.12.2
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: PDF backend
          Assignee: okular-devel at kde.org
          Reporter: contact at yannsalmon.fr
  Target Milestone: ---

Created attachment 155101
  --> https://bugs.kde.org/attachment.cgi?id=155101&action=edit
Example file

SUMMARY

STEPS TO REPRODUCE
1. Create file /tmp/essai/thing.pdf containing a link to say
https://docs.kde.org/stable5/en/okular/okular/okular.pdf
2. Open /tmp/essai/thing.pdf and click link.

OBSERVED RESULT
Okular opens another window of itself, which displays an error about not being
able to open
file:///tmp/essai/https:/docs.kde.org/stable5/en/okular/okular/okular.pdf

(notice only one slash after https:)

EXPECTED RESULT
Okular should open linked PDF file either in the browser or another Okular
window.


SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Right clicking link and copying address gives the correct URL.
URL to non-PDFs seems unaffected.
Links that do not literally end with .pdf but 302-redirect to a PDF are
affected (see 3rd link in example file).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list