Skip to content

Commit 99b017c

Browse files
authored
VA: ensure wildcard hostname is lowercased (#8643)
1 parent a272c38 commit 99b017c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

va/caa.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ func (va *ValidationAuthorityImpl) checkCAARecords(
297297
// If this is a wildcard name, remove the prefix
298298
var wildcard bool
299299
if strings.HasPrefix(hostname, `*.`) {
300-
hostname = strings.TrimPrefix(ident.Value, `*.`)
300+
hostname = strings.TrimPrefix(hostname, `*.`)
301301
wildcard = true
302302
}
303303
caaSet, err := va.getCAA(ctx, hostname)

0 commit comments

Comments
 (0)