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
F13086775: D20794.diff
Thu, Apr 25, 12:42 AM
Unknown Object (File)
Tue, Apr 16, 3:43 PM
Unknown Object (File)
Jan 21 2024, 9:18 PM
Unknown Object (File)
Dec 24 2023, 8:39 AM
Unknown Object (File)
Dec 22 2023, 6:17 AM
Unknown Object (File)
Dec 19 2023, 8:29 PM
Unknown Object (File)
Dec 19 2023, 8:30 AM
Unknown Object (File)
Dec 19 2023, 2:48 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.