Set request limit to 40 characters

This commit is contained in:
Markus Koch 2020-05-05 19:40:42 +02:00
parent c0de012044
commit 15945c08f7
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ static void dijkstra_serv_soup_callback (SoupServer *server,
return; return;
} }
if (strlen(path) > 20) { if (strlen(path) > 40) {
soup_message_set_status (msg, SOUP_STATUS_BAD_REQUEST); soup_message_set_status (msg, SOUP_STATUS_BAD_REQUEST);
return; return;
} }