diff --git a/web/js/functions.js b/web/js/functions.js index 4cc8fe7..4e4b110 100644 --- a/web/js/functions.js +++ b/web/js/functions.js @@ -1,4 +1,5 @@ function set_cookie(cname, cvalue, exdays) { + cvalue = encodeURI(cvalue) var d = new Date(); d.setTime(d.getTime() + (exdays*24*60*60*1000)); var expires = "expires="+ d.toUTCString();