Merge pull request #13548 from Cameron653/SANITIZATION_OVERLOAD

Prevents embedding of phishing links in debug logs
This commit is contained in:
Casey
2022-08-21 15:55:47 -04:00
committed by CHOMPStation2
parent 8898dc5d39
commit d389e9d3e8

View File

@@ -37,7 +37,7 @@
/proc/log_debug(text)
if (config.log_debug)
WRITE_LOG(debug_log, "DEBUG: [text]")
WRITE_LOG(debug_log, "DEBUG: [sanitize(text)]")
for(var/client/C in GLOB.admins)
if(C.is_preference_enabled(/datum/client_preference/debug/show_debug_logs))