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 "Matthias Reischenbacher (JIRA)" <ji...@apache.org> on 2019/07/27 13:25:00 UTC

[jira] [Assigned] (FOP-2875) [PATCH] basic-link to a file or an embedded file breaks if filename contains a parenthesis

     [ https://issues.apache.org/jira/browse/FOP-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Reischenbacher reassigned FOP-2875:
--------------------------------------------

    Assignee: Matthias Reischenbacher

> [PATCH]  basic-link to a file or an embedded file breaks if filename contains a parenthesis
> -------------------------------------------------------------------------------------------
>
>                 Key: FOP-2875
>                 URL: https://issues.apache.org/jira/browse/FOP-2875
>             Project: FOP
>          Issue Type: Bug
>          Components: renderer/pdf
>            Reporter: Eric Lim
>            Assignee: Matthias Reischenbacher
>            Priority: Minor
>         Attachments: paren3.patch, test-case.fo
>
>
> The following FO snippet
> {code:java}
> <fo:basic-link external-destination="embedded-file:some(paren.pdf">The link to some file</fo:basic-link>{code}
> produces the following PDF snippet
> {code:java}
> <<
> /S /JavaScript
> /JS (this.exportDataObject({cName:"some(paren.pdf", nLaunch:2});)
> >>{code}
> This PDF action is broken because the parenthesis are not escaped.
> The correct output should be
> {code:java}
> <<
> /S /JavaScript
> /JS (this.exportDataObject\({cName:"some\(paren.pdf", nLaunch:2}\);)
> >>{code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)