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

AbstractResourceReferenceMapper doesn't escape separators in style/variation names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.8, 6.2.0
    • 1.5.9, 6.3.0
    • wicket
    • 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

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: