# Validate wildcard TLS certificates correctly \(\#24829\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/96e4825fbba714322ad750ee179da3d5f8463bb5)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 96e4825fbba714322ad750ee179da3d5f8463bb5

Requested commit: 96e4825fbba714322ad750ee179da3d5f8463bb5

Commit: 96e4825fbba714322ad750ee179da3d5f8463bb5

Tree: 56bc3618efb9502667c2872d73bf2939814301f0

Author: Frank Denis

Committer: GitHub

## Message

```
Validate wildcard TLS certificates correctly (#24829)

Validate wildcard certificates as specified in RFC 6125.

In particular, `*.example.com` should match `foo.example.com` but
NOT `bar.foo.example.com` as it previously did.
```

## Parents

- [6bcdcf85c7a26f03926bdb35120901545dc19206](https://git.cafe/gitcafe/zig/commit/6bcdcf85c7a26f03926bdb35120901545dc19206?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/96e4825fbba714322ad750ee179da3d5f8463bb5?format=markdown)
