HomePhabricator

Strip the "$1" before scraping for the API URL

Authored by awight on Jul 9 2019, 11:15 AM.

Description

Strip the "$1" before scraping for the API URL

Previously, we were sending the raw page_path template into HttpApiLookup,
which will generally return a 404 for the page title "$1".

Bug: T225515
Change-Id: Idc2d5f2886546295ef1cc141aadeccd80722d2c1

Details

Committed
WMDE-FischJul 9 2019, 2:07 PM
Parents
rEFLI468102fee148: Make fewer assumptions about subdomain structure
Branches
Unknown
Tags
Unknown
ChangeId
Idc2d5f2886546295ef1cc141aadeccd80722d2c1