From 054a3d1a0e41713e73a8bde33300ae6e51e56534 Mon Sep 17 00:00:00 2001 From: Nemi Shah Date: Wed, 20 Sep 2023 11:44:43 +0530 Subject: [PATCH] Update CHANGELOG --- supertokens/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supertokens/utils.go b/supertokens/utils.go index 8b4ce683..f0e8c027 100644 --- a/supertokens/utils.go +++ b/supertokens/utils.go @@ -328,7 +328,7 @@ func GetTopLevelDomainForSameSiteResolution(URL string) (string, error) { _publicSuffix, _ := publicsuffix.PublicSuffix(hostname) // This check is added because of this issue: https://github.com/supertokens/supertokens-python/issues/394 - if strings.HasSuffix(hostname, ".amazonaws.com") && strings.HasSuffix(_publicSuffix, hostname) { + if strings.HasSuffix(hostname, ".amazonaws.com") && _publicSuffix == hostname { return hostname, nil }