diff options
Diffstat (limited to 'zenserver/frontend/frontend.cpp')
| -rw-r--r-- | zenserver/frontend/frontend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zenserver/frontend/frontend.cpp b/zenserver/frontend/frontend.cpp index 93e1b5e82..842587708 100644 --- a/zenserver/frontend/frontend.cpp +++ b/zenserver/frontend/frontend.cpp @@ -210,7 +210,7 @@ HttpFrontendService::HandleRequest(zen::HttpServerRequest& Request) // small subset of file extensions is allowed HttpContentType ContentType = HttpContentType::kUnknownContentType; - + if (const size_t DotIndex = Uri.rfind("."); DotIndex != Uri.npos) { const std::string_view DotExt = Uri.substr(DotIndex + 1); |