diff options
Diffstat (limited to 'plugins/static-files/static-files.cpp')
-rw-r--r-- | plugins/static-files/static-files.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/static-files/static-files.cpp b/plugins/static-files/static-files.cpp index ad85f22..b137cb8 100644 --- a/plugins/static-files/static-files.cpp +++ b/plugins/static-files/static-files.cpp @@ -72,7 +72,7 @@ std::string static_files_plugin::generate_page( if (method != "GET" && method != "HEAD") return HttpStatus("400", "Unknown HTTP method", SetResponseHeader); - // Request path must be absolute and not contain "..". + // Request path must not contain "..". std::string rel_target{GetRequestParam("rel_target")}; if (rel_target.find("..") != std::string::npos) { std::string target{GetRequestParam("target")}; |