We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4620d52 commit 559c0f3Copy full SHA for 559c0f3
themes/generic/src/main/assets/js/groups.js
@@ -25,7 +25,7 @@ $(function() {
25
var d = new Date();
26
d.setTime(d.getTime() + (exdays*24*60*60*1000));
27
var expires = "expires=" + d.toGMTString();
28
- document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
+ document.cookie = cname + "=" + encodeURIComponent(cvalue) + ";" + expires + ";path=/";
29
}
30
31
// http://www.w3schools.com/js/js_cookies.asp
0 commit comments