Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ApiRequest: Clone the request options before modifying them
With the introduction of mwApiServer, ApiRequest.request started modifying the request options object before issuing a request to the MW API. However, the object itself is a property of its sub-classes, which means that ApiRequest.request was modifying permanently the URI. Hence, clone the request options object before modifying it. Bug: T153797 Change-Id: Ibf4cf2fdab74d742c66aedc82379a57def91440a
- Loading branch information