Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' into ring-0.14
Browse files Browse the repository at this point in the history
* master:
  fix(secret-store): deprecation warning (#10301)
  • Loading branch information
ordian committed Feb 6, 2019
2 parents 34aa00e + 8ab6d89 commit 8d1d4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion secret-store/src/listener/http_listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ fn parse_request(method: &HttpMethod, uri_path: &str, body: &[u8]) -> Request {
Err(_) => return Request::Invalid,
};

let path: Vec<String> = uri_path.trim_left_matches('/').split('/').map(Into::into).collect();
let path: Vec<String> = uri_path.trim_start_matches('/').split('/').map(Into::into).collect();
if path.len() == 0 {
return Request::Invalid;
}
Expand Down

0 comments on commit 8d1d4f7

Please sign in to comment.