[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-dev
Subject:    [jira] [Reopened] (FOP-2688) [PATCH] basic-link external-destination does not work for file URI with
From:       "Eric Lim (JIRA)" <jira () apache ! org>
Date:       2017-09-27 14:18:00
Message-ID: JIRA.13040715.1486407994000.215432.1506521880297 () Atlassian ! JIRA
[Download RAW message or body]


     [ 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)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic