gedoor / legado

Legado 3.0 Book Reader with powerful controls & full functions❤️阅读3.0, 阅读是一款可以自定义来源阅读网络内容的工具,为广大网络文学爱好者提供一种方便、快捷舒适的试读体验。
GNU General Public License v3.0
28.62k stars 3.82k forks source link

貌似header的js执行有问题 #4241

Closed yolo52 closed 3 days ago

yolo52 commented 3 days ago

确认 / Assignments

问题描述 / Describe Bugs

同样的漫画源:http://sy.legado1.top/sy.php/b9667132511b581f6e3fef995aa6ab42.json 在之前的版本一直正常,但在3.240725左右之后的版本一直到最新都会有这个问题,在header中执行js会有些没有header头一样,具体不清楚,就是会导致图片访问不了 Screenshot_20240927_165050 Screenshot_20240927_165042 Screenshot_20240927_165032 Screenshot_20240927_164908

复现步骤 / How to reproduce

上图中正常的是我用3.240622所访问的,其余的从搜索到正文以及日志是在3.24092213测试版访问部分图片均不能加载

确认 / Assignment

其他信息 / Additions

No response

日志提交 / Relevant log output

    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:184)
    at okio.InputStreamSource.read(SourceFile:41)
    at okio.Buffer.writeAll(SourceFile:10)
    at okio.RealBufferedSource.readByteArray(SourceFile:2)
    at okhttp3.ResponseBody.bytes(SourceFile:16)
    at io.legado.app.model.analyzeRule.AnalyzeUrl.getByteArrayAwait(SourceFile:76)
    at io.legado.app.model.analyzeRule.AnalyzeUrl$getByteArrayAwait$1.invokeSuspend(Unknown Source:11)
    at d9.a.resumeWith(SourceFile:9)
    at kotlinx.coroutines.i0.run(SourceFile:125)
    at com.google.common.util.concurrent.w.n(SourceFile:6)
    at com.google.common.util.concurrent.w.run(SourceFile:9)
    at yb.k.run(SourceFile:3)
    at yb.b.run(SourceFile:96)

阅读版本 / Legado version

3.24092213

Android版本 / Android version

Android 14

机型 / Model

vivo neo3

yolo52 commented 3 days ago

Screenshot_20240927_165050 Screenshot_20240927_165042 Screenshot_20240927_165037 Screenshot_20240927_165032 Screenshot_20240927_164908

821938089 commented 3 days ago

已修复,试试最新测试版