You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Eric Lim (JIRA)" <ji...@apache.org> on 2017/09/27 14:18:00 UTC
[jira] [Reopened] (FOP-2688) [PATCH] basic-link
external-destination does not work for file URI with parenthesis and
brackets
[ https://issues.apache.org/jira/browse/FOP-2688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Lim reopened FOP-2688:
---------------------------
There is still an issue when URI has unbalance parenthesis. The link does not work!
Currently FOP produces:
7 0 obj
<< /URI (simple_%5Breport%5D_(version2.pdf)
/S /URI >>
endobj
There should be an escape slash in front of the second parenthesis.
> [PATCH] basic-link external-destination does not work for file URI with parenthesis and brackets
> ------------------------------------------------------------------------------------------------
>
> Key: FOP-2688
> URL: https://issues.apache.org/jira/browse/FOP-2688
> Project: FOP
> Issue Type: Bug
> Affects Versions: trunk
> Reporter: Eric Lim
> Attachments: basic-link.patch, FOP-2688(dest).pdf, FOP-2688-file-paren-bracket-uri.fo, FOP-2688.fo, FOP-2688 (with patch).pdf, simple_[report]_(version2).pdf
>
>
> fo:basic-link external-destinations fails when target URIs contains parenthesis or square brackets.
> For square brackets, fop may throw an invalid URI exception.
> For parenthesis, fop does not escape out parenthesis for URI action.
> Parenthesis and square brackets are pretty common for file names but not for URIs...
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)