Commit b9ff70b5 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Fix: Only allow access to "*" for OPTIONS

parent 4a10d7e7
...@@ -1689,7 +1689,7 @@ static void _handle_connection(void) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment