Closed ploiu closed 1 year ago
this line
let name_regex = Regex::new(format!("{}$", file.name).as_str()).unwrap();
only checks the end of the file name, so naming a file something that matches what another file ends with will fail, even if the names don't fully collide
this line
only checks the end of the file name, so naming a file something that matches what another file ends with will fail, even if the names don't fully collide