This only becomes a problem if the OS/filesystem allows / in filenames or . respectively .. as filenames.
With the old implementation on Windows a path like "/c:/file/ignore" got converted to "c:\file" and allowed access to files outside of FOLDER