Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
toolate
· 16y ago · 0 comments
You might be better off getting the canonical path and then checking against a whitelist. E.g. `strpos(realpath($command_path), '/var/www/html/') === 0`.
Comments
No comments yet.
Better HN