-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
@tarojs/plugin-http 不支持多域名cookie #15436
Comments
taro-bot2
bot
added
F-react
Framework - React
T-weapp
Target - 编译到微信小程序
V-3
Version - 3.x
labels
Apr 3, 2024
This was referenced Apr 6, 2024
你的cookie设置了Domain吗?源码中设置了Domain会有问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
小程序基础库: 3.3.5
使用框架: React
复现步骤
plugins: [
[
"@tarojs/plugin-http",
{
enableCookie: true,
disabledFormData: false,
disabledBlob: false,
},
],
]
使用不同的接口域名去请求,带的cookie会混乱,cookie变成跟域名无关
期望结果
cookie跟域名关联
实际结果
cookie会混乱,cookie变成跟域名无关
环境信息
The text was updated successfully, but these errors were encountered: