diff options
author | Ed Tanous <ed.tanous@intel.com> | 2017-11-08 02:32:12 +0300 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2017-11-08 02:32:12 +0300 |
commit | 746b22a2d73aa995dd434492b7f2b649db8c1c4d (patch) | |
tree | fdd1cf986ac0808bcd031a5fe8e25698a4d9c405 /include/webassets.hpp | |
parent | 038c52e00db22a49f7b94eb10a94b17a31e2ed3d (diff) | |
download | bmcweb-746b22a2d73aa995dd434492b7f2b649db8c1c4d.tar.xz |
Update crow to improve security
Change-Id: I86146edde21bac89e6cc30afdd79690e2b0adadd
Diffstat (limited to 'include/webassets.hpp')
-rw-r--r-- | include/webassets.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/webassets.hpp b/include/webassets.hpp index 3afa61f6f0..6fd0d60f6b 100644 --- a/include/webassets.hpp +++ b/include/webassets.hpp @@ -87,7 +87,7 @@ void request_routes(Crow<Middlewares...>& app) { } } } - app.route_dynamic(std::string(webpath.string()))( + app.route_dynamic(webpath.string())( [is_gzip, absolute_path_str, content_type](const crow::request& req, crow::response& res) { static const char* content_type_string = "Content-Type"; |