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
F18095252: D20794.id49585.diff
Thu, Aug 7, 10:36 PM
F18092041: D20794.id49583.diff
Thu, Aug 7, 4:16 AM
F18091383: D20794.id.diff
Wed, Aug 6, 9:22 PM
F18082710: D20794.diff
Tue, Aug 5, 7:09 AM
Unknown Object (File)
Jul 8 2025, 3:54 AM
Unknown Object (File)
Jul 1 2025, 7:58 PM
Unknown Object (File)
Jun 30 2025, 6:41 AM
Unknown Object (File)
May 30 2025, 12:24 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.