Bug 41572 - Error in url(...) URI processing
Error in url(...) URI processing
Status: CLOSED FIXED
Product: Fop - Now in Jira
Classification: Unclassified
Component: fo tree
0.93
Other other
: P2 normal
: ---
Assigned To: fop-dev
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2007-02-08 09:38 UTC by Erwin Tratar
Modified: 2012-04-01 07:00 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erwin Tratar 2007-02-08 09:38:20 UTC
URISpecification.getURL() cannot handle URIs like "url('(foo)bar')". It will
extract "(foo" only. 

The problem can be fixed by replacing

href = href.substring(4, href.indexOf(")")).trim();

with

href = href.substring(4, href.lastIndexOf(")")).trim();
Comment 1 Andreas L. Delmelle 2007-02-08 09:48:09 UTC
Fixed in FOP Trunk. See: http://svn.apache.org/viewvc?view=rev&rev=504980

Thanks for reporting and suggesting the fix!
Comment 2 Glenn Adams 2012-04-01 07:00:49 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed