Set request limit to 40 characters
This commit is contained in:
parent
c0de012044
commit
15945c08f7
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user