Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

上传文件返回链接问题 #27

Open
DoingDog opened this issue Nov 18, 2024 · 2 comments
Open

上传文件返回链接问题 #27

DoingDog opened this issue Nov 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@DoingDog
Copy link

  • Your request 你想要啥
    https://litterbox.catbox.moe/ 的网页的上传功能
    反代后无法正常返回文件url
    正常
    image
    反代
    image

  • Can you just submit a PR? (can be empty) 您是否能自己动手,丰衣足食(人话:自己提交个PR)?(可选)

  • Additional context (can be empty) 你还要说啥(可选)

@1234567Yang
Copy link
Owner

一眼破案:上传成功了,但是返回的类型是个html,并且还直接放到了这个绿框框里,然后我注入的脚本(用于更稳定代理)被放到前面了。

有时间我去看看具体怎么回事

@1234567Yang 1234567Yang added the bug Something isn't working label Nov 18, 2024
@1234567Yang
Copy link
Owner

问题找到了:它里面有个pic.js里面定义了path,然后我注入的js里面也有个变量叫path,这就导致了我的path被重写了,改一下变量名就好了。

但是新的问题:我不知道为啥upload之后返回的url是404的状态

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

2 participants