mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Merge pull request #13548 from Cameron653/SANITIZATION_OVERLOAD
Prevents embedding of phishing links in debug logs
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
/proc/log_debug(text)
|
/proc/log_debug(text)
|
||||||
if (config.log_debug)
|
if (config.log_debug)
|
||||||
WRITE_LOG(debug_log, "DEBUG: [text]")
|
WRITE_LOG(debug_log, "DEBUG: [sanitize(text)]")
|
||||||
|
|
||||||
for(var/client/C in GLOB.admins)
|
for(var/client/C in GLOB.admins)
|
||||||
if(C.is_preference_enabled(/datum/client_preference/debug/show_debug_logs))
|
if(C.is_preference_enabled(/datum/client_preference/debug/show_debug_logs))
|
||||||
|
|||||||
Reference in New Issue
Block a user