You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An html link <a> whose href contains a closing bracket ) leads to a PDF with a slightly corrupted structure because the bracket is not escaped as \) in the PDF element. In practice the link is terminated at the bracket (and the following text might get interpreted as further PDF elements)
This is translated to a PDF with the element /URI (http://test/closing)bracket) which should rather be /URI (http://test/closing\)bracket).
Checking the integrity of the PDF leads to a warning/error, e.g.: qpdf --check test.pdf outputs:
test.pdf (file position 4990): unknown token while reading object (bracket)
Tried with version 0.23 and present version on github.
Potentially, some other characters are affected as well? E.g., the backslash \ itself is converted to %5C.
The text was updated successfully, but these errors were encountered:
An html link
<a>
whosehref
contains a closing bracket)
leads to a PDF with a slightly corrupted structure because the bracket is not escaped as\)
in the PDF element. In practice the link is terminated at the bracket (and the following text might get interpreted as further PDF elements)Example:
This is translated to a PDF with the element
/URI (http://test/closing)bracket)
which should rather be/URI (http://test/closing\)bracket)
.Checking the integrity of the PDF leads to a warning/error, e.g.:
qpdf --check test.pdf
outputs:Tried with version 0.23 and present version on github.
Potentially, some other characters are affected as well? E.g., the backslash
\
itself is converted to%5C
.The text was updated successfully, but these errors were encountered: