[Rt-commit] r7558 - in rt/branches/3.6-RELEASE: .
jesse at bestpractical.com
jesse at bestpractical.com
Wed Apr 18 20:52:38 EDT 2007
Author: jesse
Date: Wed Apr 18 20:52:37 2007
New Revision: 7558
Modified:
rt/branches/3.6-RELEASE/ (props changed)
rt/branches/3.6-RELEASE/lib/RT/User_Overlay.pm
Log:
r55723 at 241: jesse | 2007-04-18 15:54:59 -0400
RT-Ticket: 8160
RT-Status: resolved
RT-Update: correspond
* Applied patch from jedik to enable UTF8 Passwords
Modified: rt/branches/3.6-RELEASE/lib/RT/User_Overlay.pm
==============================================================================
--- rt/branches/3.6-RELEASE/lib/RT/User_Overlay.pm (original)
+++ rt/branches/3.6-RELEASE/lib/RT/User_Overlay.pm Wed Apr 18 20:52:37 2007
@@ -1062,7 +1062,7 @@
my $password = shift;
my $md5 = Digest::MD5->new();
- $md5->add($password);
+ $md5->add(encode_utf8($password));
return ($md5->hexdigest);
}
@@ -1079,7 +1079,7 @@
my $password = shift;
my $md5 = Digest::MD5->new();
- $md5->add($password);
+ $md5->add(encode_utf8($password));
return ($md5->b64digest);
}
More information about the Rt-commit
mailing list