Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #321 from joscha/encode_uri_components_fixed

Fix for #472
  • Loading branch information...
commit 1de63d1e171bdb9a75b9e88c6f529943d2a0f2f1 2 parents aeb6938 + b5754a2
@pk11 pk11 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  framework/src/play/src/main/scala/play/api/mvc/Binders.scala
View
2  framework/src/play/src/main/scala/play/api/mvc/Binders.scala
@@ -84,7 +84,7 @@ trait QueryStringBindable[A] {
/**
* Javascript function to unbind in the Javascript router.
*/
- def javascriptUnbind: String = """function(k,v) {return k+'='+v}"""
+ def javascriptUnbind: String = """function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)}"""
}
Please sign in to comment.
Something went wrong with that request. Please try again.