Skip to content

Commit 062c139

Browse files
fix failing tests 2
1 parent 4d3efd8 commit 062c139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ export function checkParentDomainMatch(address: string, srvHost: string): void {
11701170
? normalizedSrvHost
11711171
: `.${normalizedSrvHost.replace(allCharacterBeforeFirstDot, '')}`;
11721172

1173-
if (!srvIsLessThanThreeParts && !srvHostDomain.startsWith('.')) {
1173+
if (!srvHostDomain.startsWith('.')) {
11741174
srvHostDomain = '.' + srvHostDomain;
11751175
}
11761176
if (

0 commit comments

Comments
 (0)