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

坑啊!操作方法参数绑定默认值竟然和之前的版本不一样 #1154

Open
Ibazhe opened this issue Dec 28, 2024 · 2 comments
Open

Comments

@Ibazhe
Copy link

Ibazhe commented Dec 28, 2024

原来默认就支持post的,现在更新后默认仅支持get,官方应该发布个更新指南的呀!对于原来的默认值修改的情况应该着重说明的!

@liu21st
Copy link
Member

liu21st commented Dec 30, 2024

参数绑定支出post有隐患 而且属于非正常操作 本来就不建议的 为了考虑到兼容升级问题 特意加了一个配置参数的 可以参考8.1的特性说明文档里面的内容 https://doc.thinkphp.cn/@wiki/thinkphp-8.1-inventory.html 操作方法参数绑定部分

@Ibazhe
Copy link
Author

Ibazhe commented Jan 8, 2025

参数绑定支出post有隐患 而且属于非正常操作 本来就不建议的 为了考虑到兼容升级问题 特意加了一个配置参数的 可以参考8.1的特性说明文档里面的内容 https://doc.thinkphp.cn/@wiki/thinkphp-8.1-inventory.html 操作方法参数绑定部分

未特别注明,很容易踩坑

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

No branches or pull requests

2 participants