nonebot-bison icon indicating copy to clipboard operation
nonebot-bison copied to clipboard

前端添加订阅时特殊字符被转义导致无法正常获取到数据

Open UKMeng opened this issue 1 year ago • 0 comments

环境

  • nonebot-bison 版本:0.7.3
  • nonebot 版本:2.0.0
  • 安装方式 4. 克隆或下载项目直接使用
  • 操作系统:macOS

问题

前端添加订阅时特殊字符被转义导致无法正常获取到数据

复现:后台添加RSS订阅https://rsshub.app/twitter/user/+44196397 报告服务器错误

报错原因是发送的请求网址变成了https://rsshub.app/twitter/user/%2044196397 导致获取数据失败

日志

以下为RSSHub的日志

nfo: /twitter/user/%2044196397, user IP: ::ffff:198.18.7.3
info: /twitter/user/%2044196397, user IP: ::ffff:198.18.7.3
error: Error in /user/%2044196397: Cannot read properties of undefined (reading 'result')
error: Error in /user/%2044196397: Cannot read properties of undefined (reading 'result')
  • [x] 我搜索过了 issue,但是并没有发现过与我类似的问题
  • [x] 我确认在日志中去掉了敏感信息

UKMeng avatar Jul 06 '23 02:07 UKMeng