escape.c
3.04 KB
-
submodule: also validate Windows-separated paths for validity · 916af8ea
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