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
Unknown Object (File)
Tue, Jan 21, 12:49 PM
Unknown Object (File)
Fri, Jan 17, 10:21 AM
Unknown Object (File)
Dec 7 2024, 7:02 AM
Unknown Object (File)
Nov 28 2024, 9:22 AM
Unknown Object (File)
Nov 27 2024, 3:30 PM
Unknown Object (File)
Nov 26 2024, 11:02 PM
Unknown Object (File)
Nov 22 2024, 8:37 PM
Unknown Object (File)
Nov 17 2024, 9:45 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.