mirror of
https://github.com/lxsang/ant-http
synced 2024-11-16 00:28:21 +01:00
Update http_server.c
This commit is contained in:
parent
8cab868003
commit
99c5df1c48
@ -578,7 +578,7 @@ int rule_check(const char *k, const char *v, const char *host, const char *_url,
|
|||||||
free(query);
|
free(query);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
LOG("Match found on", target);
|
LOG("Match found on %s", target);
|
||||||
tmp = (char *)v;
|
tmp = (char *)v;
|
||||||
char *search = "<([a-zA-Z0-9]+)>";
|
char *search = "<([a-zA-Z0-9]+)>";
|
||||||
while ((ret = regex_match(search, tmp, 2, val_matches)))
|
while ((ret = regex_match(search, tmp, 2, val_matches)))
|
||||||
|
Loading…
Reference in New Issue
Block a user