Fop
  1. Fop
  2. FOP-1306

Error in url(...) URI processing

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 0.93
    • Fix Version/s: None
    • Component/s: fo tree
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other
    • External issue ID:
      41572

      Description

      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();

        Activity

        Hide
        Andreas L. Delmelle added a comment -

        Fixed in FOP Trunk. See: http://svn.apache.org/viewvc?view=rev&rev=504980

        Thanks for reporting and suggesting the fix!

        Show
        Andreas L. Delmelle added a comment - Fixed in FOP Trunk. See: http://svn.apache.org/viewvc?view=rev&rev=504980 Thanks for reporting and suggesting the fix!
        Hide
        Glenn Adams added a comment -

        batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed

        Show
        Glenn Adams added a comment - batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed

          People

          • Assignee:
            fop-dev
            Reporter:
            Erwin Tratar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development