25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Replace stringprep by exmpp_stringprep.

PR:		EJABP-1

SVN Revision: 1726
This commit is contained in:
Jean-Sébastien Pédron 2008-12-10 14:44:08 +00:00
parent e1575e3177
commit f83fc51960
2 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,11 @@
2008-12-10 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
* src/eldap/eldap_utils.erl (case_insensitive_match/2): Replace
stringprep by exmpp_stringprep.
2008-12-09 Christophe Romain <cromain@process-one.net> 2008-12-09 Christophe Romain <cromain@process-one.net>
* src/mod_pubsub: Mergr from lattest trunk (r1716). * src/mod_pubsub: Merge from latest trunk (r1716).
2008-12-08 Jean-Sébastien Pédron <js.pedron@meetic-corp.com> 2008-12-08 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>

View File

@ -121,8 +121,8 @@ make_filter(Data, UIDs) ->
end. end.
case_insensitive_match(X, Y) -> case_insensitive_match(X, Y) ->
X1 = stringprep:tolower(X), X1 = exmpp_stringprep:to_lower(X),
Y1 = stringprep:tolower(Y), Y1 = exmpp_stringprep:to_lower(Y),
if if
X1 == Y1 -> true; X1 == Y1 -> true;
true -> false true -> false