WebRequest.getParameters() contains parameters from the request body. We need to insert the query string parameters ourselves. Parsing logic for the query mirrors WebRequest GET request approach. Unfortunately the WebRequest.normalize method isn't public and NameValuePair.normalized is marked as subject to change. That means we'll need to deal with potential null values ourselves. We fall back to an empty string to emulate the normalized behavior.

Closes gh-33249

Comment From: Crydust

I should probably review more edge cases before submitting this. Closing for now.