usmannasir
2025-07-03 15:05:08 +05:00
parent 0bea58d61f
commit 5e9d3b9d91

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:
if request.path.find('gitNotify') > -1 or pathActual.endswith('/webhook') or pathActual.endswith('/gitNotify'):
break
# Skip validation for ports key to allow port ranges with colons