Skip to content
Snippets Groups Projects
Commit 2917d18d authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #7119 replace space by + in $_COOKIES

parent da5177d4
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ if(!empty($_COOKIE)) { ...@@ -23,7 +23,7 @@ if(!empty($_COOKIE)) {
$cookie = ""; $cookie = "";
$sep = ""; $sep = "";
foreach($_COOKIE as $name => $val) { foreach($_COOKIE as $name => $val) {
$cookie = $cookie . $sep . $name . "=" . $val; $cookie = $cookie . $sep . $name . "=" . str_replace(" ", "+", $val);
$sep = "; "; $sep = "; ";
} }
$_SESSION['clientSideCookies'] = $cookie; $_SESSION['clientSideCookies'] = $cookie;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment