mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 22:36:12 +01:00
add improvments for ssl
This commit is contained in:
@@ -55,13 +55,13 @@ class secMiddleware:
|
||||
|
||||
from plogical.processUtilities import ProcessUtilities
|
||||
|
||||
if os.path.exists(ProcessUtilities.debugPath):
|
||||
logging.writeToFile(request.build_absolute_uri())
|
||||
# if os.path.exists(ProcessUtilities.debugPath):
|
||||
# logging.writeToFile(request.build_absolute_uri())
|
||||
|
||||
FinalURL = request.build_absolute_uri().split('?')[0]
|
||||
|
||||
if os.path.exists(ProcessUtilities.debugPath):
|
||||
logging.writeToFile(f'Final actual URL without QS {FinalURL}')
|
||||
# if os.path.exists(ProcessUtilities.debugPath):
|
||||
# logging.writeToFile(f'Final actual URL without QS {FinalURL}')
|
||||
|
||||
if request.method == 'POST':
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user