From 18e46ce87dae88f48269f03b01b93cfe598b247b Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 4 Dec 2020 15:56:14 +0000 Subject: Fix a copy/paste error in the http path normalising code. --- src/modules/m_httpd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp index a155dd278..eefb3ed93 100644 --- a/src/modules/m_httpd.cpp +++ b/src/modules/m_httpd.cpp @@ -367,7 +367,7 @@ class HttpServerSocket : public BufferedSocket, public Timer, public insp::intru { // Traverse up to the previous level. if (!pathsegments.empty()) - pathsegment.pop_back(); + pathsegments.pop_back(); continue; } -- cgit v1.2.3