Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/ in path parameters #17

Open
olhsha opened this issue Oct 6, 2014 · 0 comments
Open

/ in path parameters #17

olhsha opened this issue Oct 6, 2014 · 0 comments

Comments

@olhsha
Copy link

olhsha commented Oct 6, 2014

As one can expect if a frontend has “/“ in a string path parameter, this should be encoded, otherwise the server will not recognise the request pattern.

The weird thing DWAN backend is that if I run it from net-beans on my tomcat localhost, it must be encoded 2 times before sending, and when it is run on lux16 or lux 17 it must be decoded 3 times. Otherwise you will have 400 Bad request respond. Tomcats on my localhost,lux16, lux17 are all the same: 6.0.

Our hypothesis is that on my localhost you need 2 encodings because Jersey decodes it once (breakpoint in debugging shows that indeed, the path parameter I have is 1 time decoded). On lux16 and lux17 Apache container needs extra encoding, may be because of the following know issue, opined by Olaf (see the first comment):

https://java.net/jira/browse/JERSEY-329

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant