We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For route matcher - get("/info/:requestKey") { val requestKey = params("requestKey") val name = params.get("name").getOrElse("") }
For a request like "/info/k%E2%82%ACy?name%3Dhell%C3%B8w%C3%B8rld", I see
requestKey = k€y name = helløwørld
But, I'd like to see
requestKey = k%E2%82%ACy name = hell%C3%B8w%C3%B8rld
My code relies on the fact that the parameters are not decoded, so that I can optionally skip decoding certain characters. What options do I have?
The text was updated successfully, but these errors were encountered:
you can get the path info with: request.getPathInfo
Sorry, something went wrong.
I'm not sure if the path info is useful here as that's decoded as well.
pathInfo = /k€y
I'd like to access parameters before decoding or skip the parameter decoding.
http://stackoverflow.com/questions/966077/java-reading-undecoded-url-from-servlet
No branches or pull requests
For route matcher -
get("/info/:requestKey") {
val requestKey = params("requestKey")
val name = params.get("name").getOrElse("")
}
For a request like "/info/k%E2%82%ACy?name%3Dhell%C3%B8w%C3%B8rld", I see
requestKey = k€y
name = helløwørld
But, I'd like to see
requestKey = k%E2%82%ACy
name = hell%C3%B8w%C3%B8rld
My code relies on the fact that the parameters are not decoded, so that I can optionally skip decoding certain characters. What options do I have?
The text was updated successfully, but these errors were encountered: