Menu

#5 log-in "timeout" (591-CAN/AUTH)

open
nobody
None
5
2005-06-14
2005-06-14
No

The file
/lib/safari_lib_admin.pl

is missing semicolons after the path instruction in the Set-Cookie.

Cookie does not successfully load and user cannot get past first
page.

Corrected source code:

# print "Content-type: text/html\n"; ^M

print "Set-Cookie: password\=$users{$FPOST{'author'}}\;
path\=/cgi-bin\;\ domain\=$ENV{'SERVER_NAME'}\;
expires\=$days[$wday], $mday-$months[$mon]-$year
$hour:$min:$sec GMT\n";^M

print "Set-Cookie: author\=$FPOST{'author'}\; path\=/cgi-bin\;\
domain\=$ENV{'SERVER_NAME'}\; expires\=$days[$wday], $mday-
$months[$mon]-$year $hour:$min:$sec GMT\n\n\n";^M

Discussion


Log in to post a comment.