Page MenuHomePhabricator

Make named lookup of users case insensitive
ClosedPublic

Authored by epriestley on Jun 10 2014, 11:59 AM.
Tags
None
Referenced Files
F14383821: D9451.diff
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
Unknown Object (File)
Tue, Nov 26, 5:03 PM
Unknown Object (File)
Nov 18 2024, 1:22 AM
Unknown Object (File)
Nov 10 2024, 2:13 AM
Unknown Object (File)
Oct 27 2024, 4:42 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).