From a1868690ce0cd16aac271086d3086fbc573cd06a Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sat, 23 May 2020 22:12:58 -0400 Subject: [PATCH] [s] Prevent filesystem access (#51174) * Wow, imagine being the person who added this * Overzealous --- code/__HELPERS/files.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/__HELPERS/files.dm b/code/__HELPERS/files.dm index ba53368ae9c..0c5ee333cbd 100644 --- a/code/__HELPERS/files.dm +++ b/code/__HELPERS/files.dm @@ -4,6 +4,8 @@ src << browse_rsc(file) /client/proc/browse_files(root="data/logs/", max_iterations=10, list/valid_extensions=list("txt","log","htm", "html")) + // wow why was this ever a parameter + root = "data/logs/" var/path = root for(var/i=0, i