Page MenuHomePhabricator

Make named lookup of users case insensitive
ClosedPublic

Authored by epriestley on Jun 10 2014, 11:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 27, 5:43 PM
Unknown Object (File)
Thu, Dec 26, 2:14 AM
Unknown Object (File)
Sun, Dec 22, 4:32 AM
Unknown Object (File)
Sun, Dec 22, 1:26 AM
Unknown Object (File)
Sat, Dec 21, 8:53 AM
Unknown Object (File)
Fri, Dec 13, 2:05 AM
Unknown Object (File)
Thu, Dec 12, 8:53 AM
Unknown Object (File)
Wed, Dec 4, 3:04 AM
Subscribers

Details

Summary

Fixes T5302. Allow the name @aLiNCoLN to identify user @alincoln.

Test Plan

Queried users with mixed case names.

Diff Detail

Repository
rP Phabricator
Branch
caselookup
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 955
Build 955: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Make named lookup of users case insensitive.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: sophiebits, btrahan.
sophiebits edited edge metadata.
sophiebits added inline comments.
src/applications/people/phid/PhabricatorPeoplePHIDTypeUser.php
71

Just to verify my understanding – this transformation isn't necessary for the query, just for matching the objects up afterwards?

This revision is now accepted and ready to land.Jun 10 2014, 6:35 PM

Yep, that's correct. The query itself finds usernames in either case (which is how the user.query version works), but we currently discard them on the way out.

epriestley updated this revision to Diff 22577.

Closed by commit rP28341307922c (authored by @epriestley).