Baseflow / Baseflow/flutter_cache_manager
Invalid argument(s): No host specified in URI. Error thrown .
- Dominant language
- Dart
- Stars
- 809
- Forks
- 510
- Avg merge
- 6m
- Merged PRs (30d)
- 1
Description
## 🐛 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
Contributor guide
Research direction
Start with the stack-trace locations in io_client.dart:88, file_service.dart:37, and web_helper.dart:65, 97, and 115 to follow how the URI reaches the HTTP request. Check how invalid URLs are handled, then verify that an invalid URL is detected without producing the reported no-host exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100