Baseflow / Baseflow/flutter_cache_manager

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

Ouverte
#460 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Dart
Étoiles
809
Forks
510
Merge moyen
6 min
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
dart, flutter
Domaine
mobile
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.