-
Notifications
You must be signed in to change notification settings - Fork 38.5k
How to accept Illegal character in query string with ServletHttpHandlerAdapter #25274
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
Comments
You can do this
Assuming you are on Tomcat 8, 9 or 10 (I didn't check older version. It may just work the same way.) |
@et00448 this looks like a question to me which would be better suited to StackOverflow, and sharing an exception snippet that we don't throw ourselves is not really to be sufficient. If you want support, please share a small sample that we can run ourselves to reproduce the behavior that you've described. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
Hello all,
For legacy reasons in my project based on spring boot 2.2.5 and spring cloud Hoxton.SR4, we should accept non URL encoded character "|" in query string.
We had set the "server.tomcat.relaxed-query-chars=|" in order to let coyotte connector accept this non URL encode character.
But I am facing an issue with ServletHttpHandlerAdapter -> Failed to get request URL: Illegal character in query
How can I deal with illegal caracters in ServletHttpHandlerAdapter like the server.tomcat.relaxed-query-chars do?
Thank's
The text was updated successfully, but these errors were encountered: