HomePhabricator

Fix viewing of anons' User: pages by ensuring that an IP address is never…

Authored by ashley on May 17 2020, 12:13 AM.

Description

Fix viewing of anons' User: pages by ensuring that an IP address is never passed to UserProfile's constructor

Bonus: this probably is an optimization, assuming User::isIP() is cheap enough; even so, why would
we need to initialize a UserProfile for an anon user when we know anons cannot have social profiles to begin with?

Change-Id: I833a4dc15ad9a388e86e95f12b6d20501ed35c12