-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Closed
Labels
area/clientapollo-clientapollo-clientarea/configserviceapollo-configserviceapollo-configservicebugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
- 我已经检查过discussions
- 我已经搜索过issues
- 我已经仔细检查过FAQ
描述bug
由于config service大小写不敏感,而导致客户端配置的AppId大小写与服务端不一致时可越过accessKey检查而直接获取到配置;
或直接通过postman等工具获取到配置文件;
复现
通过如下步骤可以复现:
- apollo开启访问秘钥
- 客户端配置 -Dapp.id={此处与portal配置的大小写不一致}
- 客户端不配置 accessKey
- 启动应用可以成功获取到配置(或使用postman直接请求)
期望
返回401而不是配置
截图
额外的细节和日志
- 版本:服务端1.8.1;客户端1.8.0
Metadata
Metadata
Assignees
Labels
area/clientapollo-clientapollo-clientarea/configserviceapollo-configserviceapollo-configservicebugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.