http_parse_query_ex set key terminated with ASCII 0
parent
9ca29b6b06
commit
ed4a70d97b
|
|
@ -381,6 +381,7 @@ int http_parse_query_ex(char *url, const int url_len,
|
|||
continue;
|
||||
}
|
||||
|
||||
*pKeyEnd = '\0';
|
||||
pCurrent->key_len = (int)(pKeyEnd - pCurrent->key);
|
||||
if (pCurrent->key_len == 0) //empty key
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue