Compare commits
No commits in common. "d7d59322c57c9154faa537d8d00e4ec2071f09fa" and "c0de0120441043d7f33f6eb06646cab2cdbd63aa" have entirely different histories.
d7d59322c5
...
c0de012044
@ -1,14 +0,0 @@
|
|||||||
server.modules += ("mod_proxy")
|
|
||||||
$HTTP["host"] == "domain.tld" {
|
|
||||||
$HTTP["url"] =~ "^/dijkstra/" {
|
|
||||||
proxy.server = ( "" =>
|
|
||||||
( "internal" =>
|
|
||||||
(
|
|
||||||
"host" => "localhost",
|
|
||||||
"port" => 6802
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -66,7 +66,7 @@ static void dijkstra_serv_soup_callback (SoupServer *server,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strlen(path) > 40) {
|
if (strlen(path) > 20) {
|
||||||
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