mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed bug in cookie handling
SVN revision: 2179
This commit is contained in:
parent
e759939aaf
commit
f529456e7d
@ -26681,6 +26681,8 @@ int process_http_request(const char *request, int i_conn)
|
||||
for (i = 0; *p && *p != ';' && *p != '\r' && *p != '\n' ; )
|
||||
if (i < (int) sizeof(cookie)-1)
|
||||
cookie[i++] = *p++;
|
||||
else
|
||||
break;
|
||||
cookie[i] = 0;
|
||||
} else {
|
||||
/* empty cookie */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user