Page MenuHomePhabricator

Fix fatal during redirection safety check for searching for Phabricator base-uri with no trailing slash
ClosedPublic

Authored by epriestley on Sep 9 2019, 7:30 PM.
Tags
None
Referenced Files
F22733398: D20794.id49583.diff
Sun, Oct 4, 8:00 AM
Unknown Object (File)
Jul 3 2026, 2:41 PM
Unknown Object (File)
Jun 30 2026, 6:42 AM
Unknown Object (File)
Jun 29 2026, 1:03 PM
Unknown Object (File)
Jun 27 2026, 2:59 PM
Unknown Object (File)
Jun 26 2026, 1:23 PM
Unknown Object (File)
Apr 12 2026, 6:34 AM
Unknown Object (File)
Apr 8 2026, 11:07 PM
Subscribers
None

Details

Summary

Fixes T13412. If you search for "https://phabricator.example.com" with no trailing slash, we currently redirect you to "", which is fouled by a safety check in the redirection flow.

Test Plan
  • Searched for "https://local.phacility.com"; before: fatal in redirection; after: clean redirect.
  • Searched for other self-URIs, got normal redirects.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Sep 9 2019, 7:45 PM
This revision was automatically updated to reflect the committed changes.