Viodek
Viodek

Reputation: 1

URL Path Parameter Encoding

I'm struggling with path param encoding with retrofit:

Response{protocol=http/1.1, code=400, message=Bad Request, url=http://localhost:8080/nuxeo/api/v1/path/default-domain%2Fblabla}

Tomcat has restricted his URL validation for security reason: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0450.

So I'd like to send '/' directly in my path parameter without encoding it in %2F. How can I achieve it?

Thank you!

Upvotes: 0

Views: 1346

Answers (1)

Viodek
Viodek

Reputation: 1

Since parent-2.0.0-beta4, the parameter of the annotation of @Path is now working properly.

Upvotes: 0

Related Questions