mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
[s] Prevent filesystem access (#51174)
* Wow, imagine being the person who added this * Overzealous
This commit is contained in:
@@ -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<max_iterations, i++)
|
||||
|
||||
Reference in New Issue
Block a user