diff options
author | Denis Cornehl <denis@cornehl.org> | 2022-03-08 20:58:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 13:58:58 -0600 |
commit | 076a9e6b8e715fc200812f6a73a17a9764d45aba (patch) | |
tree | 14c2256b2acee9fc68926444345694bff1da0400 /docs/faq/README.md | |
parent | e71fefb912514fec6acb3ec229bae5a0c1dd1ce6 (diff) |
fix(rust): overrides should only check full segments (#3668)
Fixes a bug in the Rust module where overrides would match
against both full path components as well as partial ones
(e.g. "/etc/passwd" would be considered a prefix of
"/etc/passwd_new") on Windows.
Solution is to convert back to a PathBuf after lossy conversion
so that Path::starts_with is used instead of str::starts_with.
Diffstat (limited to 'docs/faq/README.md')
0 files changed, 0 insertions, 0 deletions