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 28, 4:03 AM
Unknown Object (File)
Sat, Jan 25, 5:42 AM
Unknown Object (File)
Sat, Jan 25, 5:42 AM
Unknown Object (File)
Sat, Jan 25, 5:42 AM
Unknown Object (File)
Sat, Jan 25, 5:42 AM
Unknown Object (File)
Thu, Jan 23, 9:26 PM
Unknown Object (File)
Thu, Jan 23, 2:29 PM
Unknown Object (File)
Tue, Jan 21, 12:49 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
Branch
redir1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23408
Build 32157: Run Core Tests
Build 32156: arc lint + arc unit

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.