Fixed bug with empty cookies

SVN revision: 2170
This commit is contained in:
2009-02-12 12:17:30 +00:00
parent 7d482de459
commit f6d14ac55d
+2
View File
@@ -26639,6 +26639,8 @@ int process_http_request(const char *request, int i_conn)
p++;
while (*p && *p == ' ')
p++;
if (*p == '\r' || *p == '\n')
break;
strlcpy(str, p, sizeof(str));
for (i = 0; i < (int) strlen(str); i++)
if (str[i] == '=' || str[i] == ';')