| 139 | } |
| 140 | |
| 141 | HTTPRequestFilter urlFilter(const Poco::Util::AbstractConfiguration & config, const std::string & config_path, HTTPRequestFilterMatchType match_type) |
| 142 | { |
| 143 | return [expression = getExpression(config.getString(config_path), match_type, /* ignore_query_string= */ true)](const HTTPServerRequest & request) |
| 144 | { |
| 145 | return checkExpression(request.getURI(), expression); |
| 146 | }; |
| 147 | } |
| 148 | |
| 149 | HTTPRequestFilter fullUrlFilter(const Poco::Util::AbstractConfiguration & config, const std::string & config_path, HTTPRequestFilterMatchType match_type) |
| 150 | { |
no test coverage detected