Personal-use NixOS configuration
at main 13 lines 482 B view raw
1diff --git a/wsd/FileServer.cpp b/wsd/FileServer.cpp 2index f524cdb9b0..e25eed6325 100644 3--- a/wsd/FileServer.cpp 4+++ b/wsd/FileServer.cpp 5@@ -1376,7 +1376,7 @@ std::string FileServerRequestHandler::getRequestPathname(const HTTPRequest& requ 6 7 std::string path(requestUri.getPath()); 8 9- Poco::RegularExpression gitHashRe("/([0-9a-f]+)/"); 10+ Poco::RegularExpression gitHashRe("/([0-9a-f.]+)/"); 11 std::string gitHash; 12 if (gitHashRe.extract(path, gitHash)) 13 {