3 Commity

Autor SHA1 Wiadomość Data
391ebab551 submodules: cpp-httplib: Update 2026-01-15 18:38:45 +01:00
a6c455b31c submodules: cpp-httplib: Update 2025-12-28 13:35:57 +01:00
6be75c705a gateway: Limit regex match length 2025-12-28 13:04:17 +01:00
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@@ -124,8 +124,8 @@ void HttpGateway::work(RequestWorker &worker)
res = convertResponse(wikiresponse);
};
server.Get("/(.*)", handler);
server.Post("/(.*)", handler);
server.Get("/(.{0,255})", handler);
server.Post("/(.{0,255})", handler);
server.listen(this->listenaddr.c_str(), this->listenport);
}