Fixed problem with cookie path

SVN revision: 404
This commit is contained in:
Stefan Ritt 2003-02-19 09:32:05 +00:00
parent d59f66d352
commit cee0e82599

View File

@ -6,6 +6,9 @@
Contents: Web server program for Electronic Logbook ELOG Contents: Web server program for Electronic Logbook ELOG
$Log$ $Log$
Revision 1.20 2003/02/19 09:32:05 midas
Fixed problem with cookie path
Revision 1.19 2003/02/19 08:05:49 midas Revision 1.19 2003/02/19 08:05:49 midas
Changed permission of 'elogd.pid' file Changed permission of 'elogd.pid' file
@ -3614,10 +3617,10 @@ struct tm *gmt;
{ {
extract_path(str); extract_path(str);
url_encode(str, sizeof(str)); url_encode(str, sizeof(str));
rsprintf(" path=/%s%s;", str, lbs->name_enc); rsprintf(" path=/%s/%s;", str, lbs->name_enc);
} }
else else
rsprintf(" path=/%s;", lbs->name_enc); rsprintf(" path=/%s/;", lbs->name_enc);
} }
exp = atof(expiration); exp = atof(expiration);