message: Clean up a mess up
diff: @@ -124,10 +124,12 @@ where
  string.extend_from_slice(element.as_bytes());
  if element != ".." && element != "." {
  - string.push(b'*');
  - }
  + string.extend_from_slice(b"*/");
  + } else {
  + string.extend_from_slice(element.as_bytes());
  string.push(b'/');
  }
  + }
  string.pop(); // pop out the last '/' character
  let string = unsafe { &str::from_utf8_unchecked(&string) };
  