Skip to content
Permalink
Browse files

Fixed: SpamAssassin configurations not working

  • Loading branch information...
usmannasir committed Aug 18, 2019
1 parent b26ad92 commit fc1c21fb07f9e1afcd84fa97a3b4173e0082c2e7
Showing with 1 addition and 1 deletion.
  1. +1 −1 CyberCP/secMiddleware.py
@@ -58,7 +58,7 @@ def __call__(self, request):
else:
continue

if request.build_absolute_uri().find('docker') > -1 or request.build_absolute_uri().find('cloudAPI') > -1 or request.build_absolute_uri().find('filemanager') > -1 or request.build_absolute_uri().find('verifyLogin') > -1 or request.build_absolute_uri().find('submitUserCreation') > -1:
if request.build_absolute_uri().find('saveSpamAssassinConfigurations') > -1 or request.build_absolute_uri().find('docker') > -1 or request.build_absolute_uri().find('cloudAPI') > -1 or request.build_absolute_uri().find('filemanager') > -1 or request.build_absolute_uri().find('verifyLogin') > -1 or request.build_absolute_uri().find('submitUserCreation') > -1:
continue
if key == 'ports' or key == 'imageByPass' or key == 'passwordByPass' or key == 'cronCommand' or key == 'emailMessage' or key == 'configData' or key == 'rewriteRules' or key == 'modSecRules' or key == 'recordContentTXT' or key == 'SecAuditLogRelevantStatus' or key == 'fileContent':
continue

0 comments on commit fc1c21f

Please sign in to comment.
You can’t perform that action at this time.