mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp(rawuri, "*") == 0) {
|
if (parser->req_type == httpp_req_options && strcmp(rawuri, "*") == 0) {
|
||||||
client_send_204(client);
|
client_send_204(client);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user