usmannasir 2025-07-03 16:07:39 +05:00
parent e7ba2ce74a
commit 827666436b
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ class secMiddleware:
logging.writeToFile(f'Key being scanned {str(key)}')
logging.writeToFile(f'Value being scanned {str(value)}')
if request.path.find('gitNotify') > -1 or pathActual.endswith('/webhook') or pathActual.endswith('/gitNotify'):
if pathActual.find('gitNotify') > -1 or pathActual.endswith('/webhook') or pathActual.endswith('/gitNotify'):
break
# Skip validation for ports key to allow port ranges with colons