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

StringParameterInjector does not allow for multiple query parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Core
    • None

      The StringParameterInjector only extracts the first value from the list of parameters:

      if (values == null)
          return extractValue(null);
      if (values.size() == 0)
          return extractValue(null);
      return extractValue(values.get(0));
      

      This should account for all parameters. Assume query parameters passed like: ?names=Foo&names=Bar. Both "Foo" and "Bar" should be processed here.

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: