mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Fix: Only allow access to "*" for OPTIONS
This commit is contained in:
parent
4a10d7e744
commit
b9ff70b589
@ -1689,7 +1689,7 @@ static void _handle_connection(void)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strcmp(rawuri, "*") == 0) {
|
||||
if (parser->req_type == httpp_req_options && strcmp(rawuri, "*") == 0) {
|
||||
client_send_204(client);
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user