Skip to content

Commit

Permalink
bug fix: design window
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Nov 5, 2024
1 parent 1f57d2f commit e73890f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CyberCP/secMiddleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __call__(self, request):
logging.writeToFile(f'Path vs the final url : {pathActual}')
logging.writeToFile(FinalURL)

if pathActual == "/base/design" or pathActual == "/backup/localInitiate" or pathActual == '/' or pathActual == '/verifyLogin' or pathActual == '/logout' or pathActual.startswith('/api')\
if pathActual == "/backup/localInitiate" or pathActual == '/' or pathActual == '/verifyLogin' or pathActual == '/logout' or pathActual.startswith('/api')\
or pathActual.endswith('/webhook') or pathActual.startswith('/cloudAPI') or pathActual.endswith('/gitNotify'):
pass
else:
Expand Down Expand Up @@ -160,7 +160,7 @@ def __call__(self, request):
'cloudAPI') > -1 or FinalURL.find(
'verifyLogin') > -1 or FinalURL.find('submitUserCreation') > -1:
continue
if key == 'ownerPassword' or key == 'scriptUrl' or key == 'CLAMAV_VIRUS' or key == "Rspamdserver" or key == 'smtpd_milters' \
if key == 'MainDashboardCSS' or key == 'ownerPassword' or key == 'scriptUrl' or key == 'CLAMAV_VIRUS' or key == "Rspamdserver" or key == 'smtpd_milters' \
or key == 'non_smtpd_milters' or key == 'key' or key == 'cert' or key == 'recordContentAAAA' or key == 'backupDestinations'\
or key == 'ports' \
or key == 'imageByPass' or key == 'passwordByPass' or key == 'PasswordByPass' or key == 'cronCommand' \
Expand Down

0 comments on commit e73890f

Please sign in to comment.