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
F13176685: D20794.id49583.diff
Wed, May 8, 4:19 PM
F13174004: D20794.id.diff
Tue, May 7, 9:34 PM
Unknown Object (File)
Tue, May 7, 7:00 AM
Unknown Object (File)
Mon, May 6, 7:49 PM
Unknown Object (File)
Fri, May 3, 4:58 AM
Unknown Object (File)
Wed, May 1, 10:33 PM
Unknown Object (File)
Tue, Apr 30, 9:19 PM
Unknown Object (File)
Sun, Apr 28, 6:36 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.