mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-23 03:08:54 +00:00
fix(ldap): properly escape ldap input
This commit is contained in:
1 parent
46a8ebf69f
commit
01f545b0b3
2 files changed
+31
-7
No files matched your search
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user