Skip to content

Commit

Permalink
Remove dot before cookie (#845)
Browse files Browse the repository at this point in the history
  • Loading branch information
Syer10 authored Jan 24, 2024
1 parent d658e07 commit 562b940
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ object CFClearance {
Cookie.Builder()
.name(cookie.name)
.value(cookie.value)
.domain(cookie.domain)
.domain(cookie.domain.removePrefix("."))
.path(cookie.path)
.expiresAt(cookie.expires?.takeUnless { it < 0.0 }?.toLong() ?: Long.MAX_VALUE)
.also {
Expand Down

0 comments on commit 562b940

Please sign in to comment.