[dev-context] fix for named destinations in URLs

Pablo Rodriguez oinos at gmx.es
Sun Oct 16 12:54:44 CEST 2022


Hi Hans,

the attached patch replaces "#" with "^" as autoprefix for named
destinations in lpdf.ano (both for MkXL and MkIV).

This would allow urls such as
https://pdf.ousia.tk/autoprefix.pdf#nameddest=^33 ("#" is a reserved
char in urls).

Also “PDF Open Parameters” reserves the usage of "#", "&", "=" and these
special characters cannot be escaped
(https://pdfobject.com/pdf/pdf_open_parameters_acro8.pdf#search=escape).

I hope it helps,

Pablo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lpdf-autoprefix.diff
Type: text/x-patch
Size: 918 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/dev-context/attachments/20221016/443a4a73/attachment.bin>


More information about the dev-context mailing list