Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/proxy/http/remap/UrlRewrite.cc b/proxy/http/remap/UrlRewrite.cc
- index 70bf234b6..b9007e6ba 100644
- --- a/proxy/http/remap/UrlRewrite.cc
- +++ b/proxy/http/remap/UrlRewrite.cc
- @@ -405,7 +405,7 @@ UrlRewrite::PerformACLFiltering(HttpTransact::State *s, url_mapping *map)
- bool match = true;
- if (rp->method_restriction_enabled) {
- - if (method_wksidx != -1) {
- + if (method_wksidx >= 0) {
- match = rp->standard_method_lookup[method_wksidx];
- } else if (!rp->nonstandard_methods.empty()) {
- match = false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement