From d80e70ca8de47d820e0f2d2ec85311f124aee0e2 Mon Sep 17 00:00:00 2001 From: gedoor Date: Mon, 14 Dec 2020 22:46:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/help/http/AjaxWebView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/help/http/AjaxWebView.kt b/app/src/main/java/io/legado/app/help/http/AjaxWebView.kt index f495024b2..3c9f0c8b6 100644 --- a/app/src/main/java/io/legado/app/help/http/AjaxWebView.kt +++ b/app/src/main/java/io/legado/app/help/http/AjaxWebView.kt @@ -191,7 +191,7 @@ class AjaxWebView { params.sourceRegex?.let { if (url.matches(it.toRegex())) { try { - val response = StrResponse(view.url ?: params.url, url) + val response = StrResponse(params.url, url) handler.obtainMessage(MSG_SUCCESS, response).sendToTarget() } catch (e: Exception) { handler.obtainMessage(MSG_ERROR, e).sendToTarget()