Jämför commits

..

2 Incheckningar

Upphovsman SHA1 Meddelande Datum
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 ändrade filer med 3 tillägg och 3 borttagningar

Visa fil

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