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
F15464803: D20794.id49585.diff
Wed, Apr 2, 12:49 PM
F15424481: D20794.id49585.diff
Sat, Mar 22, 10:38 PM
F15421088: D20794.id.diff
Fri, Mar 21, 8:55 PM
F15415588: D20794.diff
Thu, Mar 20, 6:49 AM
F15415526: D20794.id49585.diff
Thu, Mar 20, 6:27 AM
F15400120: D20794.id.diff
Mon, Mar 17, 9:50 AM
Unknown Object (File)
Feb 27 2025, 5:13 AM
Unknown Object (File)
Feb 24 2025, 9:08 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.