Skip to content

Commit

Permalink
Fixed cookies with = signs (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deedasmi authored and saschagrunert committed Jul 31, 2018
1 parent 3f0341c commit 9c2f9a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/service/cookie.rs
Expand Up @@ -30,7 +30,7 @@ impl CookieService {
cookies
.iter()
.filter_map(|x| {
let name_value: Vec<_> = x.split('=').collect();
let name_value: Vec<_> = x.splitn(2, '=').collect();
match name_value.get(0) {
None => None,
Some(c) => {
Expand Down

0 comments on commit 9c2f9a6

Please sign in to comment.