Set request limit to 40 characters

feature/trainlines-wip
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;
}
if (strlen(path) > 20) {
if (strlen(path) > 40) {
soup_message_set_status (msg, SOUP_STATUS_BAD_REQUEST);
return;
}