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
F19014182: D20794.id.diff
Nov 22 2025, 6:57 PM
F19002332: D20794.diff
Nov 21 2025, 5:26 AM
F18810048: D20794.id.diff
Oct 19 2025, 7:05 PM
F18803983: D20794.diff
Oct 18 2025, 5:15 AM
F18788175: D20794.id49585.diff
Oct 15 2025, 3:18 AM
F18777604: D20794.id49583.diff
Oct 11 2025, 3:51 AM
F18752764: D20794.diff
Oct 4 2025, 4:19 PM
F18616795: D20794.id.diff
Sep 14 2025, 7:03 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.