We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如果ajax提交数据有&字符,服务端会报错,必须对post数据做encode处理。 提交方式:post 版本:3.1.0-alpha.4 数据:111&aa 无encode: 有encode:
The text was updated successfully, but these errors were encountered:
把你发送ajax的代码贴一下?ajax.hooks.serializeData默认是会进行编码的,你是否有重写这个方法?
ajax.hooks.serializeData
require('er/ajax').hooks.serializeData({ name: '111&aaa' }) > "name=111%26aaa"
Sorry, something went wrong.
@hanyangecho 能给一下进一步的信息吗?
No branches or pull requests
如果ajax提交数据有&字符,服务端会报错,必须对post数据做encode处理。


提交方式:post
版本:3.1.0-alpha.4
数据:111&aa
无encode:
有encode:
The text was updated successfully, but these errors were encountered: