[Partner request] Remove https and trailing slash in an https origin

For example, "https://something/" should be just "something".

Bug: 286103811
Fix: 286103811
Test: local verification (see bug for screenshots)
Change-Id: Ib6b3b9e99163235f7ae73bc7ebd66571f254ea86
1 file changed