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