Skip to content

Commit

Permalink
fix internet explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed May 6, 2024
1 parent f0ea5a3 commit bc314f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rookie-rs/src/browser/internet_explorer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ pub fn internet_explorer_based(
let expires = date::internet_explorer_timestamp(expires);
let http_only = false;

let should_append = domains.is_none() || domains.iter().any(|d| d.contains(&host));
let should_append =
domains.is_none() || domains.iter().any(|d| d.contains(&host.to_string()));
if should_append {
cookies.push(Cookie {
domain: host.to_string(),
Expand Down

0 comments on commit bc314f6

Please sign in to comment.