summaryrefslogtreecommitdiffhomepage
path: root/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.cpp')
-rw-r--r--config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.cpp b/config.cpp
index a2ff24c..26af2b5 100644
--- a/config.cpp
+++ b/config.cpp
@@ -257,7 +257,7 @@ const Path& Config::GetPath(const Socket& socket, const std::string& requested_h
if (m_host == host) {
for (const auto& path: site.paths) {
if (boost::starts_with(requested_path, path.requested) &&
- "/&\0"s.find(requested_path[path.requested.size()]) != std::string::npos &&
+ "/?\0"s.find(requested_path[path.requested.size()]) != std::string::npos &&
path.requested.size() > path_len)
{
path_len = path.requested.size();