ignore trailing slash

pull/1/head
dvkt 4 years ago
parent f521ea21d1
commit cd9fb92636

@ -50,5 +50,12 @@ impl Request {
}
}
self.selector.push_str(line);
// strip trailing /
if let Some(last) = self.selector.chars().last() {
if last == '/' {
self.selector.pop();
}
}
}
}

Loading…
Cancel
Save