commit | 746b22a2d73aa995dd434492b7f2b649db8c1c4d | [log] [tgz] |
---|---|---|
author | Ed Tanous <ed.tanous@intel.com> | Tue Nov 07 15:32:12 2017 -0800 |
committer | Ed Tanous <ed.tanous@intel.com> | Tue Nov 07 15:32:12 2017 -0800 |
tree | fdd1cf986ac0808bcd031a5fe8e25698a4d9c405 | |
parent | 038c52e00db22a49f7b94eb10a94b17a31e2ed3d [diff] [blame] |
Update crow to improve security Change-Id: I86146edde21bac89e6cc30afdd79690e2b0adadd
diff --git a/include/webassets.hpp b/include/webassets.hpp index 3afa61f..6fd0d60 100644 --- a/include/webassets.hpp +++ b/include/webassets.hpp
@@ -87,7 +87,7 @@ } } } - 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";