Page MenuHomePhabricator

D9451.diff
No OneTemporary

D9451.diff

diff --git a/src/applications/people/phid/PhabricatorPeoplePHIDTypeUser.php b/src/applications/people/phid/PhabricatorPeoplePHIDTypeUser.php
--- a/src/applications/people/phid/PhabricatorPeoplePHIDTypeUser.php
+++ b/src/applications/people/phid/PhabricatorPeoplePHIDTypeUser.php
@@ -68,6 +68,7 @@
$id_map = array();
foreach ($names as $name) {
$id = substr($name, 1);
+ $id = phutil_utf8_strtolower($id);
$id_map[$id][] = $name;
}
@@ -78,8 +79,9 @@
$results = array();
foreach ($objects as $id => $object) {
- $username = $object->getUsername();
- foreach (idx($id_map, $username, array()) as $name) {
+ $user_key = $object->getUsername();
+ $user_key = phutil_utf8_strtolower($user_key);
+ foreach (idx($id_map, $user_key, array()) as $name) {
$results[$name] = $object;
}
}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 11, 2:13 AM (1 w, 17 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6736270
Default Alt Text
D9451.diff (871 B)

Event Timeline