This commit is contained in:
parent
0bea58d61f
commit
5e9d3b9d91
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue