Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-880

CachedImageHandlerJPEGEncoder constructor null handling bug

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Component/s: SVGGraphics2D
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      The CachedImageHandlerJPEGEncoder constructor should allow null as the second argument to indicate that the URL corresponding to the imageDir should be used in generated @xlink:href attributes. However, it is mistakenly used to construct a relative URL, resulting in attributes such as xlink:href="null/myimage.jpg" being created.

        Attachments

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              cam Cameron McCormack
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: