From 4706e78526d734c7febf87bda2063e3356382124 Mon Sep 17 00:00:00 2001 From: "xu.jimmy.wrk" Date: Thu, 26 Aug 2010 14:34:07 +0000 Subject: [PATCH] VXBkYXRlIHRvIGlnbm9yZSByZWdleHM= --- checkRules.py | 1 + 1 file changed, 1 insertion(+) diff --git a/checkRules.py b/checkRules.py index 60a76af..d69a652 100755 --- a/checkRules.py +++ b/checkRules.py @@ -50,6 +50,7 @@ def main(): if rule.startswith('[AutoProxy'): continue if rule.startswith('!'): continue if rule.startswith('@@'): continue + if rule.startswith('/') and rule.endswith('/'): continue (test, t) = getUrl(rule) print '=>', test, curl = subprocess.call(['/usr/bin/curl', '-4', '-I', '-m', '5', test], stdout=subprocess.PIPE, stderr=subprocess.PIPE)