"+" in query string parameters should be escaped as %2B, otherwise it will be interpreted as a space. Try it here and you'll see:
http://meyerweb.com/eric/tools/dencoder/You should use the appropriate encoding function wherever the connectionId parameter is being generated to begin with.
On Friday, May 4, 2012 2:15:32 PM UTC-4, Anatoly Vinogradov wrote:
Thanks but it does not solve the issue.
Value of the parameter "connectionId" in the function "connection" is "IjtSSEMkaC9QFRZSV01kUygPVxMubVMLMw5KVVIGKUcCQlU KgE=" instead of "IjtSSEMkaC9QFRZSV01kUygPVxMubVMLMw5KVVIGKUcCQlU+KgE=". That is a "+" is replaced by space.
I think this is a bug.
Hi,
jto.
Le vendredi 4 mai 2012 01:49:01 UTC-7, Anatoly Vinogradov a écrit :
Have an error:
...
Internal server error, for request [GET /connection?connection_id=IjtSSEMkaC9QFRZSV01kUygPVxMubVMLMw5KVVIGKUcCQlU+KgE=]
...
Exception throws here:
def connection(connectionId: String) = Action {
Async {
Ok(response)
}
}
}
Value of the parameter "connectionId" in the function "connection" is "IjtSSEMkaC9QFRZSV01kUygPVxMubVMLMw5KVVIGKUcCQlU KgE=" instead of "IjtSSEMkaC9QFRZSV01kUygPVxMubVMLMw5KVVIGKUcCQlU+KgE=". That is a "+" is replaced by space.
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/om9ZCr6GXsUJ.