Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4844

AbstractResourceReferenceMapper doesn't escape separators in style/variation names

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.8, 6.2.0
    • Fix Version/s: 1.5.9, 6.3.0
    • Component/s: wicket
    • Labels:
      None

      Description

      org.apache.wicket.request.mapper.AbstractResourceReferenceMapper#encodeResourceReferenceAttributes() doesn't escape '-' character when generating the query string parameter with the locale-style-variation.

      So using a style with name "a-b" leads to parameter with name "-a-b" and later is decoded to style == "a" and variation == "b"

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              mgrigorov Martin Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: