Baseflow / Baseflow/flutter_cache_manager

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

Abierto
#460 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Dart
Estrellas
809
Forks
510
Merge medio
6 min
PR fusionados (30 d)
1

Descripción

## 🐛 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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
dart, flutter
Área
mobile
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.