diff --git a/src/http_server.cpp b/src/http_server.cpp index f58fdb63..ef7b0001 100644 --- a/src/http_server.cpp +++ b/src/http_server.cpp @@ -351,6 +351,9 @@ int HttpServer::catch_all_handler(h2o_handler_t *_h2o_handler, h2o_req_t *req) { std::map query_map; StringUtils::parse_query_string(query_str, query_map); + // cache ttl can be applied only from an embedded key + query_map.erase("cache_ttl"); + // Extract auth key from header. If that does not exist, look for a GET parameter. std::string api_auth_key_sent = "";