Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1944

QueryParam with List value should support comma separated value as well

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None

    Description

      When using a list as a QueryParam, (@QueryParam List strings),
      following url works fine -
      ?strings=123&strings=456
      this works and you get array with 2 values.

      but when you pass the value as follows -
      ?strings=123,456
      it gives "123,456" as a single value which is not expected behaviour.
      comma separation in values of QueryParam are supported by all the major frameworks.

      Attachments

        Issue Links

          Activity

            People

              rsigal@redhat.com Ronald Sigal
              naitik333 Naitik Nisar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: