fix(ldap): properly escape ldap input

This commit is contained in:
Hivert Quentin committed 2026-10-14 17:28:04 +02:00
1 parent 46a8ebf69f
commit 01f545b0b3
2 files changed
+31 -7

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@
//We check that the session is base64
NSData *decodedData = [[NSData alloc] initWithBase64EncodedString:theSessionKey options:0];
if(!decodedData)
return value;
return nil;
key = [NSString stringWithFormat: @"session:%@", theSessionKey];
value = [cache valueForKey: key];