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)
Sat, Apr 20, 7:52 PM
Unknown Object (File)
Sat, Apr 20, 7:03 PM
Unknown Object (File)
Thu, Apr 11, 10:04 AM
Unknown Object (File)
Tue, Apr 2, 11:30 AM
Unknown Object (File)
Sat, Mar 30, 7:01 PM
Unknown Object (File)
Sat, Mar 30, 11:53 AM
Unknown Object (File)
Feb 10 2024, 8:20 AM
Unknown Object (File)
Feb 4 2024, 4:02 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
Lint
Lint Skipped
Unit
Tests Skipped

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).