From f6039315ea920631b117747ca857231e03ec66b9 Mon Sep 17 00:00:00 2001 From: Nathan Ringo Date: Tue, 16 Jan 2024 02:41:20 -0600 Subject: Lower-case the X.500s. --- src/handlers/x500_mapper.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/handlers') diff --git a/src/handlers/x500_mapper.rs b/src/handlers/x500_mapper.rs index 31b888f..c228f70 100644 --- a/src/handlers/x500_mapper.rs +++ b/src/handlers/x500_mapper.rs @@ -79,6 +79,7 @@ impl X500Mapper { } async fn record_x500(&self, uid: UserId, x500: String) { + let x500 = x500.to_lowercase(); let x500 = &x500; let future = async move { let uid = i64::from(uid); -- cgit v1.2.3