summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-12-04 15:56:14 +0000
committerSadie Powell <sadie@witchery.services>2020-12-04 15:56:43 +0000
commit18e46ce87dae88f48269f03b01b93cfe598b247b (patch)
treedd01f525a20c73c41854cd93ffa04613a210b5e4 /src
parent612f4fbe0e98d4bfe5c5527ef2e8153a6600e090 (diff)
Fix a copy/paste error in the http path normalising code.
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_httpd.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}