1
0
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:
Philipp Schafft 2018-06-20 06:34:00 +00:00
parent 4a10d7e744
commit b9ff70b589

View File

@ -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;
} }