Page MenuHomePhabricator

Fix a bug where Phortune could fatal while building crumbs
ClosedPublic

Authored by epriestley on Apr 14 2017, 4:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 2, 2:23 AM
Unknown Object (File)
Fri, May 30, 4:13 AM
Unknown Object (File)
Apr 26 2025, 2:30 PM
Unknown Object (File)
Apr 25 2025, 4:03 AM
Unknown Object (File)
Apr 2 2025, 12:56 PM
Unknown Object (File)
Apr 1 2025, 9:11 AM
Unknown Object (File)
Mar 25 2025, 4:44 PM
Unknown Object (File)
Mar 22 2025, 3:47 AM
Subscribers
None

Details

Summary

Ref T12451. $this->getAccount() may not return an account.

Test Plan
  • Visit /phortune/X/, where X is the ID of an account you don't have permission to view.
  • Before patch: fatal.
  • After patch: normal policy exception page.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable