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

追番页面给每个图片单独设置 referrerPolicy #295

Open
wants to merge 1 commit into
base: 3.x
Choose a base branch
from

Commits on Jun 21, 2022

  1. 给每个图片单独设置 referrerPolicy

    page-bangumi.php中设置了全局referrer规则:不发送referer。如果开启了PJAX局部刷新,从追番页面去到其它页面该规则也会被保留,这会导致后面的请求也不发送referer。如果有资源比如CDN禁止空referer请求,那么这部分资源就会无法访问。
    Lin515 committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    74d7f2a View commit details
    Browse the repository at this point in the history