aboutsummaryrefslogtreecommitdiff
path: root/src/handlers
diff options
context:
space:
mode:
authorNathan Ringo <nathan@remexre.com>2024-01-16 02:41:20 -0600
committerNathan Ringo <nathan@remexre.com>2024-01-16 02:41:20 -0600
commitf6039315ea920631b117747ca857231e03ec66b9 (patch)
tree60816ca1c41f58fefa312d69f467456607251023 /src/handlers
parent387087b3b2359ad7f434a16f5682ef781539e786 (diff)
Lower-case the X.500s.
Diffstat (limited to 'src/handlers')
-rw-r--r--src/handlers/x500_mapper.rs1
1 files changed, 1 insertions, 0 deletions
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);