escape.c
3.04 KB
-
submodule: also validate Windows-separated paths for validity · 4a1753c2
Otherwise we would also admit `..\..\foo\bar` as a valid path and fail to protect Windows users. Ideally we would check for both separators without the need for the copied string, but this'll get us over the RCE.
Carlos Martín Nieto committed