From 95efe6feb37b04c179e48b3f42905008666eb7c9 Mon Sep 17 00:00:00 2001 From: acsbendi Date: Sat, 28 May 2022 17:00:42 +0200 Subject: [PATCH] Fixed incorrect JavaScript variable used in the script. --- .../RequestInspectorJavaScriptInterface.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/acsbendi/requestinspectorwebview/RequestInspectorJavaScriptInterface.kt b/app/src/main/java/com/acsbendi/requestinspectorwebview/RequestInspectorJavaScriptInterface.kt index dc28790..30deba2 100644 --- a/app/src/main/java/com/acsbendi/requestinspectorwebview/RequestInspectorJavaScriptInterface.kt +++ b/app/src/main/java/com/acsbendi/requestinspectorwebview/RequestInspectorJavaScriptInterface.kt @@ -147,7 +147,7 @@ XMLHttpRequest.prototype.send = function (body) { lastXmlhttpRequestPrototypeMethod = null; xmlhttpRequestUrl = null; xmlhttpRequestHeaders = ""; - this._send(fixedBody); + this._send(body); }; window._fetch = window.fetch;