camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Sicker (JIRA)" <>
Subject [jira] [Created] (CAMEL-9935) Rest DSL passes blank query parameters as null
Date Mon, 02 May 2016 14:17:12 GMT
Matt Sicker created CAMEL-9935:

             Summary: Rest DSL passes blank query parameters as null
                 Key: CAMEL-9935
             Project: Camel
          Issue Type: Bug
          Components: rest
    Affects Versions: 2.17.0, 2.16.2
         Environment: Java 1.8.0_66, Maven 3.3.3 (from Spring Boot maven wrapper), Netty 4.x
            Reporter: Matt Sicker

First, [see my companion project|]. My problem here is
that if you send a query parameter without a value:

curl http://localhost:8080/piq/test?foo

or if you send just a single space:

curl http://localhost:8080/piq/test?foo=+

you can see that the header is null. For context, this route sets the body to {{true}} if
the {{foo}} header is null, or {{false}} otherwise.

This message was sent by Atlassian JIRA

View raw message