Bug 136373 - PDF output from Writer generates bad URL when crossing a line
Summary: PDF output from Writer generates bad URL when crossing a line
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-01 14:50 UTC by Raphael Finkel
Modified: 2020-12-27 16:41 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Finkel 2020-09-01 14:50:04 UTC
Description:
I use --convert-to pdf to convert an odt file to pdf.  My file includes text describing a URL, which I link to the actual URL.  The text crosses a line boundary; Writer inserts a hyphen at that point.  The URL looks good in Writer.  However, the link in the generated PDF contains an extraneous %A2%CD at the point of the hyphen into the generated URL.  It also has the same extraneous data at the end of the URL.

Steps to Reproduce:
1. Build a file in Writer with text containing a very long URL.
2. Link that URL to its target.
3. Use --convert-to pdf to generate a PDF file from the text.
4. Inspect the PDF at the point of the URL to see what it points to.

Actual Results:
At the place where Writer inserts a hyphen in the text, there are extraneous characters in the underlying URL: %A2%CD.  These characters are also at the end of the underlying URL.

Expected Results:
The URL should be exactly the one linked.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.0.7.3
Build ID: 1:6.0.7-0ubuntu0.18.04.10
CPU threads: 4; OS: Linux 4.18; UI render: default; VCL: gtk3; 

Locale: en-US (en_US.utf8); Calc: group
Comment 1 Dieter 2020-12-27 12:51:05 UTC
Thank you for reporting the bug. It seems you're using an old version of LibreOffice. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ or with a master build from http://dev-builds.libreoffice.org/daily/master/current.html? You can install master alongside the standard version. I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version. Change to RESOLVED WORKSFORME, if the problem went away.
Comment 2 Raphael Finkel 2020-12-27 16:41:41 UTC
Fixed by LibreOffice 7.0.4.2