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/unqualified
    • 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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development