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

Squiggle repeats URL anchors in location bar

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Component/s: SVG Viewer
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other

      Description

      If you enter an URL in squiggle's location bar that contains an anchor after the
      "#" sign, squiggle correctly displays the view but the URL in the location bar
      gets rewritten with the "#anchor" part repeated four times. If you then press
      "reload", the anchor is repeated eight times. Etc.

      To repeat:

      Open a document with a view in squiggle, for example:

      <?xml version="1.0" encoding="ISO-8859-1"?>
      <svg xmlns="http://www.w3.org/2000/svg"
      xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0"
      width="400" viewBox="0 0 800 600" height="300" overflow="visible">
      <rect x="10" y="10" width="780" height="580" fill="none"
      stroke="blue" stroke-width="5"/>
      <view preserveAspectRatio="xMidYMid meet" id="page1" viewBox="0 0 800 600"/>
      </svg>

      This URL appears in squiggles location bar:

      file:/home/archie/xx.svg

      Then, in squiggle's location bar, append "#page1" to the URL displayed and press
      return.

      Now this URL appears in squiggles location bar:

      file:/home/archie/xx.svg#page1#page1#page1#page1

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
                Reporter:
                archie Archie Cobbs
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: