diff options
| author | Stefan Boberg <[email protected]> | 2022-06-10 16:02:11 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2022-06-10 16:02:11 +0200 |
| commit | 1bfd27e78e1962779997a5da5dc7639fcb74fcc1 (patch) | |
| tree | ab78d94247d25a6efbbb25facf63ed3ce98525f7 /zenserver/frontend/frontend.cpp | |
| parent | extended zen print command to also handle CbPackage and CompressedBuffer form... (diff) | |
| download | zen-1bfd27e78e1962779997a5da5dc7639fcb74fcc1.tar.xz zen-1bfd27e78e1962779997a5da5dc7639fcb74fcc1.zip | |
clang-format fixes
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); |