diff --git a/assets/resources/scriptlets.js b/assets/resources/scriptlets.js index dfb10e53f..3cf2981c6 100644 --- a/assets/resources/scriptlets.js +++ b/assets/resources/scriptlets.js @@ -977,7 +977,7 @@ function setCookieFn( // https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.1 // The characters [",] are given a pass from the RFC requirements because // apparently browsers do not follow the RFC to the letter. - if ( /[^!-:<-[\]-~]/.test(value) ) { + if ( /[^ -:<-[\]-~]/.test(value) ) { value = encodeURIComponent(value); }