aboutsummaryrefslogtreecommitdiff
path: root/src/https.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-08 11:11:22 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-08 11:11:22 +0100
commit098a6cf2cdb9b0370ab7358b005f731b65e9981c (patch)
tree80e862f2ba2aeb03a33ab8e4fcb05d4a221dd308 /src/https.rs
parent11c6f0b1c29b10893de9390f5be559de49e78410 (diff)
downloadtricot-098a6cf2cdb9b0370ab7358b005f731b65e9981c.tar.gz
tricot-098a6cf2cdb9b0370ab7358b005f731b65e9981c.zip
Implement glob pattern hostnames
no wildcard certificates: one certificate per matching hostname that actually recieves requests
Diffstat (limited to 'src/https.rs')
-rw-r--r--src/https.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/https.rs b/src/https.rs
index 3621e4f..2d97476 100644
--- a/src/https.rs
+++ b/src/https.rs
@@ -93,7 +93,7 @@ async fn handle(
.entries
.iter()
.filter(|ent| {
- ent.host == host
+ ent.host.matches(host)
&& ent
.path_prefix
.as_ref()