Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1306

Error in url(...) URI processing

    Details

    • Type: 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();

        Attachments

          Activity

            People

            • Assignee:
              fop-dev@xmlgraphics.apache.org fop-dev
              Reporter:
              erwin.tratar@gebit.de Erwin Tratar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: