Lurker News
Back to discussion

Comment by wesleytodd

hombre_fatal1 reply#
A simpler fix might be to canonicalize (i.e. no "..") the public folder path and the requested file path and then ensure the public path is a prefix of the other.
Kalium#
Any fix also needs to be sure to resolve any symlinks before doing a prefix check.
the_mitsuhiko#
This fix does not even work on windows. You can still request data on a different drive.