Function safe_path

Source
pub fn safe_path(raw_path: String) -> String
Expand description

计算安全路径

可以防止路径访问上级目录,即 ../