Skip to content

Commit ace8bc6

Browse files
committed
remove the trim
1 parent f384d99 commit ace8bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cookies/middleware.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ impl CookieData {
8282
if let Some(cookie_headers) = req.header(&headers::COOKIE) {
8383
for cookie_header in cookie_headers {
8484
// spec says there should be only one, so this is permissive
85-
for pair in cookie_header.as_str().split(";").map(str::trim) {
85+
for pair in cookie_header.as_str().split(";") {
8686
if let Ok(cookie) = Cookie::parse(String::from(pair)) {
8787
jar.add_original(cookie);
8888
}

0 commit comments

Comments
 (0)