From 74c5282f86c8f7ddbfdbc54cf862eeee01e4c8ac Mon Sep 17 00:00:00 2001 From: Hs1r1us <29907973+Hs1r1us@users.noreply.github.com> Date: Mon, 15 Feb 2021 23:53:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B0=B4=E5=8C=BA=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=9B=9E=E5=A4=8D=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tgfc/build.gradle | 2 +- tgfc/src/main/java/net/jejer/hipda/okhttp/OkHttpHelper.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tgfc/build.gradle b/tgfc/build.gradle index 61595b91..81afc171 100644 --- a/tgfc/build.gradle +++ b/tgfc/build.gradle @@ -9,7 +9,7 @@ android { minSdkVersion 14 targetSdkVersion 28 versionCode 27 - versionName "1.4.1" + versionName "1.4.2" } buildTypes { diff --git a/tgfc/src/main/java/net/jejer/hipda/okhttp/OkHttpHelper.java b/tgfc/src/main/java/net/jejer/hipda/okhttp/OkHttpHelper.java index f4e32cf3..9a6d2b66 100644 --- a/tgfc/src/main/java/net/jejer/hipda/okhttp/OkHttpHelper.java +++ b/tgfc/src/main/java/net/jejer/hipda/okhttp/OkHttpHelper.java @@ -108,7 +108,7 @@ private Request buildPostFormRequest(String url, Map params, Obj private boolean IsLions = false; private String LionsUrlCheck(String url) { String Result = url; - if (Result.contains("fid")) { + if (Result.contains("fid") && !Result.contains("fid=null")) { if (Result.contains("fid=25")) IsLions = true; else