HomePhorge

Replace "getRequestURI()->setQueryParams(array())" with "getPath()"

Description

Replace "getRequestURI()->setQueryParams(array())" with "getPath()"

Summary:
Ref T13250. A handful of callsites are doing getRequestURI() + setQueryParams(array()) to get a bare request path.

They can just use getPath() instead.

Test Plan: See inlines.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13250

Differential Revision: https://secure.phabricator.com/D20150

Details

Provenance
epriestleyAuthored on Feb 12 2019, 8:07 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP00ffb190cc71: In Webhooks, label HTTP response codes as "HTTP Status Code", not "HTTP Error"
Branches
Unknown
Tags
Unknown

Event Timeline