Bug 160227 - VERSION cookie not set correctly

r=myk
parent 99930ca5
......@@ -75,8 +75,8 @@ my $product = $::FORM{'product'};
my $cookiepath = Param("cookiepath");
if (exists $::FORM{'product'}) {
if (exists $::FORM{'version'}) {
print "Set-Cookie: VERSION-$product=$::FORM{'version'} ; \
path=$cookiepath ; expires=Sun, 30-Jun-2029 00:00:00 GMT\n";
print "Set-Cookie: VERSION-$product=$::FORM{'version'} ; " .
"path=$cookiepath ; expires=Sun, 30-Jun-2029 00:00:00 GMT\n";
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment