From e75c7573218a0aad4053194a7cb919ff0d425529 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Tue, 12 Mar 2019 22:38:47 +0100 Subject: [PATCH] Pfusch --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.cpp b/src/client.cpp index f8c06b1..0528969 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 && host == "minecraft.necronda.net"); bool redir = true; if (!noRedirect) {