X-Git-Url: http://git.shiar.net/perl/plp/.git/blobdiff_plain/b485fa6bb934e79d44a1be1b5e41e31f4e7129b1..4b924b1351d4a8ea42652533081a3ea62df110e4:/lib/PLP/Functions.pm diff --git a/lib/PLP/Functions.pm b/lib/PLP/Functions.pm index 90ff741..f362167 100644 --- a/lib/PLP/Functions.pm +++ b/lib/PLP/Functions.pm @@ -75,7 +75,7 @@ sub EncodeURI (@) { sub AddCookie ($) { if ($PLP::Script::header{'Set-Cookie'}) { - $PLP::Script::header{'Set-Cookie'} .= "\nSet-Cookie: $_[0]"; + $PLP::Script::header{'Set-Cookie'} .= "\n" . $_[0]; } else { $PLP::Script::header{'Set-Cookie'} = $_[0]; }