Baseflow / Baseflow/flutter_cache_manager

Invalid argument(s): No host specified in URI. Error thrown .

未关闭
#460 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dart
星标
809
派生
510
平均合并
6 分钟
30 天内合并 PR
1

描述

## 🐛 Bug Report

Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError
Invalid argument(s): No host specified in URI. Error thrown .
_HttpClient.openUrl (dart:_http)
IOClient.send (io_client.dart:88)
HttpFileService.get (file_service.dart:37)
WebHelper._download (web_helper.dart:115)
WebHelper._updateFile (web_helper.dart:97)
WebHelper._downloadOrAddToQueue (web_helper.dart:65)

### Expected behavior
You can check whether url is valid

### Reproduction steps

### Configuration

**Version:** 3.3.1

**Platform:**
- [x] :iphone: iOS
- [x] :robot: Android

贡献指南

打开贡献指南

调研方向

从 io_client.dart:88、file_service.dart:37 以及 web_helper.dart:65、97 和 115 中的堆栈跟踪位置开始,跟踪 URI 如何到达 HTTP 请求。检查无效 URL 的处理方式,然后验证无效 URL 能够被检测到,且不会产生报告中的 no-host exception。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, flutter
领域
mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。