abs_file_path = os.path.normpath(os.path.join(abs_working_dir, file_path)) if os.path.commonpath([abs_working_dir, abs_file_path]) != abs_working_dir: ...
ALERT: Debug logging with full card data is a PCI violation. Disable debug mode in production immediately. Terminal must be re-certified after this dump is reviewed.