Fix CWD without trainling slash

This commit is contained in:
Jeremy Soller 2016-09-28 11:52:29 -06:00
parent 96c269abe6
commit a716eee4c3

View file

@ -96,6 +96,9 @@ impl Context {
canon
} else {
let mut canon = cwd.clone();
if ! canon.ends_with(b"/") {
canon.push(b'/');
}
canon.extend_from_slice(&path);
canon
}