Issue 122037 - Broken link URLs in PDF export due to encoding
Summary: Broken link URLs in PDF export due to encoding
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: 3.4.1
Hardware: PC Windows 7
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-11 10:14 UTC by Steve Gray
Modified: 2013-05-21 14:39 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: 4.0.0
Developer Difficulty: ---


Attachments
ODT with example hyperlink (8.27 KB, application/vnd.oasis.opendocument.text)
2013-04-11 10:14 UTC, Steve Gray
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Steve Gray 2013-04-11 10:14:37 UTC
Created attachment 80526 [details]
ODT with example hyperlink

Writer encodes hyperlink URLs in PDF export, e.g:

Insert hyperlink with path...

path with spaces.html

This is encoded to... 

path%20with%20spaces.html

on clicking Apply.

Generated PDF has hyperlink but PDF readers encode the already-encoded link producing...

path%2520with%2520 etc

and therefore fail to open the link. Adobe Reader gives error message showing this. Foxit silently fails.

Proposed solution: decode links in PDF export?
Comment 1 Edwin Sharp 2013-04-11 18:19:23 UTC
Spaces are preserved in Rev. 1458937 upon Insert - Hyperlink.
In SumatraPDF: only tool tip when mouse over link shows %20 instead off space.
Comment 2 DanielAlvaro 2013-05-21 14:39:45 UTC
Hello,

I tried to reproduce this issue with the version 4.0 and when I exported to PDF and clicked the link I didn't see any error message in PDF readers.

Regards

Daniel Alvaro.