Page MenuHomePhabricator

Use correct viewer for debug.stop-on-redirect
ClosedPublic

Authored by epriestley on Apr 8 2014, 12:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 9, 9:19 PM
Unknown Object (File)
Apr 13 2025, 12:35 PM
Unknown Object (File)
Mar 26 2025, 8:23 PM
Unknown Object (File)
Mar 25 2025, 9:55 AM
Unknown Object (File)
Mar 18 2025, 10:22 AM
Unknown Object (File)
Mar 18 2025, 3:24 AM
Unknown Object (File)
Mar 15 2025, 4:03 AM
Unknown Object (File)
Mar 12 2025, 10:22 PM
Subscribers

Details

Reviewers
btrahan
Commits
Restricted Diffusion Commit
rP58ba8e7d6359: Use correct viewer for debug.stop-on-redirect
Summary

See https://github.com/facebook/phabricator/pull/563.

I think this secondary construction of a $user is very old, and predates subsequent changes which cause a proper user to construct earlier, so using the user on the $request should (I think) always work. I couldn't immediately find any cases where it does not.

Test Plan

With debug.stop-on-redirect set, hit various redirects, like jump-naving to T1. Got a proper stop dialog.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Use correct viewer for debug.stop-on-redirect.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Apr 8 2014, 5:20 PM
epriestley updated this revision to Diff 20680.

Closed by commit rP58ba8e7d6359 (authored by @epriestley).