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
F18810048: D20794.id.diff
Sun, Oct 19, 7:05 PM
F18803983: D20794.diff
Sat, Oct 18, 5:15 AM
F18788175: D20794.id49585.diff
Wed, Oct 15, 3:18 AM
F18777604: D20794.id49583.diff
Sat, Oct 11, 3:51 AM
F18752764: D20794.diff
Sat, Oct 4, 4:19 PM
F18616795: D20794.id.diff
Sep 14 2025, 7:03 PM
F18598648: D20794.diff
Sep 13 2025, 5:30 AM
F18570612: D20794.id49585.diff
Sep 10 2025, 3:59 AM
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.