Skip to content

Commit 054a3d1

Browse files
committed
Update CHANGELOG
1 parent b93697b commit 054a3d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supertokens/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ func GetTopLevelDomainForSameSiteResolution(URL string) (string, error) {
328328
_publicSuffix, _ := publicsuffix.PublicSuffix(hostname)
329329

330330
// This check is added because of this issue: https://github.com/supertokens/supertokens-python/issues/394
331-
if strings.HasSuffix(hostname, ".amazonaws.com") && strings.HasSuffix(_publicSuffix, hostname) {
331+
if strings.HasSuffix(hostname, ".amazonaws.com") && _publicSuffix == hostname {
332332
return hostname, nil
333333
}
334334

0 commit comments

Comments
 (0)