pull/2046/head
kunfei 2 years ago
parent 9098c4a27e
commit d3f960c2b2
  1. 5
      app/src/main/java/io/legado/app/help/http/HttpHelper.kt

@ -29,10 +29,7 @@ val cookieJar by lazy {
val cookieBuilder = StringBuilder() val cookieBuilder = StringBuilder()
cookies.forEach { cookies.forEach {
if (it.value != "") { if (it.value != "") {
cookieBuilder.append(it.name) cookieBuilder.append(it.name).append("=").append(it.value).append(";")
.append("=")
.append(it.value)
.append(";")
} }
} }
cookieBuilder.deleteCharAt(cookieBuilder.lastIndexOf(";")) cookieBuilder.deleteCharAt(cookieBuilder.lastIndexOf(";"))

Loading…
Cancel
Save