I need to send a value that includes a / as a path parameter.  e.g
"foo/bar"  I have tried URL encoding it but I get a 400 bad request.

Any ideas. I see that this was an old issue that was fixed a while back, I
am using CXF 2.7.0

Any ideas?

https://issues.apache.org/jira/browse/CXF-1820

url -v http://localhost:8085/security/services/rest/groups/foo%2Fbar
* About to connect() to localhost port 8085 (#0)
*   Trying 127.0.0.1...
* connected
* Connected to localhost (127.0.0.1) port 8085 (#0)
> GET /security/services/rest/groups/foo%2Fbar HTTP/1.1
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0
OpenSSL/0.9.8x zlib/1.2.5
> Host: localhost:8085
> Accept: */*
>
< HTTP/1.1 400 Bad Request
< Server: Apache-Coyote/1.1
< Content-Length: 0
< Date: Thu, 11 Jul 2013 14:02:39 GMT
< Connection: close
<
* Closing connection #0

Reply via email to