mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-11 15:56:11 +01:00
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user