From 0cad1098016505bcdb0c0115b3d95ef3fa8379d2 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Mon, 16 Mar 2020 18:04:04 +0100 Subject: [PATCH] Added Pfusch --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.cpp b/src/client.cpp index 4bea8cb..d96173c 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -246,7 +246,7 @@ bool connection_handler(const char *preprefix, const char *col1, const char *col log(prefix, "\x1B[1m" + req.getMethod() + " " + req.getPath() + "\x1B[0m"); log_to_file(prefix, "\x1B[1m" + req.getMethod() + " " + req.getPath() + "\x1B[0m", host); - bool noRedirect = req.getPath().find("/.well-known/acme-challenge/") == 0; + bool noRedirect = req.getPath().find("/.well-known/acme-challenge/") == 0 || (req.getPath().find("/files/") == 0); bool redir = true; if (!noRedirect) {