From 2b0e6128b814a80a2a2e55a32408c1e97f97c1d2 Mon Sep 17 00:00:00 2001 From: Leo Date: Fri, 11 Aug 2017 17:31:03 -0300 Subject: [PATCH] Changes the check to prevent any possible href spoofing --- code/modules/client/client_procs.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm index 1a044bcb90e..98e4a0bb0e0 100644 --- a/code/modules/client/client_procs.dm +++ b/code/modules/client/client_procs.dm @@ -73,7 +73,7 @@ return //Logs all hrefs, except chat pings - if(href_list["proc"] != "ping") + if(!(href_list["_src_"] == "chat" && href_list["proc"] == "ping" && LAZYLEN(href_list) == 2)) WRITE_FILE(GLOB.world_href_log, "[time_stamp(show_ds = TRUE)] [src] (usr:[usr]) || [hsrc ? "[hsrc] " : ""][href]
") // Admin PM