From 613ea51b6e0d4bba95ec814c34099bc73f4ff967 Mon Sep 17 00:00:00 2001 From: aunefyren Date: Sun, 15 Dec 2024 16:15:20 +0100 Subject: [PATCH] Update functions.js --- web/js/functions.js | 1 + 1 file changed, 1 insertion(+) 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();