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

建议增加静态跳转支持 #88

Open
jackadam1981 opened this issue Jun 10, 2022 · 4 comments
Open

建议增加静态跳转支持 #88

jackadam1981 opened this issue Jun 10, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@jackadam1981
Copy link

部分网站禁用了跨站请求,那么php的跳转就有问题
99c436a08495b9ab1b403c36975e45c
现在链接是这样的:
http://ip*****/index.php?c=click&id=11
被认为跨站请求,个别站点不支持这样跳转。

@helloxz
Copy link
Owner

helloxz commented Jun 10, 2022

好的,感谢反馈,我考虑下。

@helloxz helloxz added the enhancement New feature or request label Jun 10, 2022
@helloxz
Copy link
Owner

helloxz commented Jun 10, 2022

目前临时解决方案是后台开启过渡页跳转,时间设置长一点,然后再从过渡页的链接点进去。

@jackadam1981
Copy link
Author

jackadam1981 commented Jun 13, 2022

https://www.jb51.net/article/137982.htm
HTTP Referer详解及Referer控制

如果页面中包含了如下 meta 标签,所有从当前页面中发起的请求将不会携带 referer:

分析了一下以前正常跳转的请求和onenav跳转的数据包,发现是不待referrer的,正常跳转。
再看,index.php没有包含这一句。
<meta name="referrer" content="never">
我手动改了一下正常了。
为避免被其他网站识别跨站伪造请求,可以改进去。

@jackadam1981
Copy link
Author

已提交,可以合并

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants