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

The new mappers ignore single query parameter with empty value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-M2.1
    • 1.5-M3
    • wicket
    • None

    Description

      Making request like http://host:port/?paramName= will result in empty PageParameters.
      The problem is in org.apache.wicket.request.mapper.AbstractMapper.extractPageParameters(Request, int, IPageParametersEncoder) because it skips the first parameter if its value is empty.
      This is made because most of the time this is the PageComponentInfo part of the URL.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: