Advertisement
Guest User

Untitled

a guest
Feb 27th, 2018
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
LDIF 0.57 KB | None | 0 0
  1. diff --git a/proxy/http/remap/UrlRewrite.cc b/proxy/http/remap/UrlRewrite.cc
  2. index 70bf234b6..b9007e6ba 100644
  3. --- a/proxy/http/remap/UrlRewrite.cc
  4. +++ b/proxy/http/remap/UrlRewrite.cc
  5. @@ -405,7 +405,7 @@ UrlRewrite::PerformACLFiltering(HttpTransact::State *s, url_mapping *map)
  6.        bool match = true;
  7.  
  8.        if (rp->method_restriction_enabled) {
  9. -        if (method_wksidx != -1) {
  10. +        if (method_wksidx >= 0) {
  11.            match = rp->standard_method_lookup[method_wksidx];
  12.          } else if (!rp->nonstandard_methods.empty()) {
  13.            match = false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement