ionic-team / ionic-team/ionicons

ion icons not displayed if they are hosted on a server requesting auth

Abierto
#640 2 comentarios 0 reacciones 0 asignados Ver en GitHub
help wanted type: bug
Lenguaje dominante
TypeScript
Estrellas
18.2k
Forks
2.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I'm submitting a:

[x] bug report
[ ] feature request
[ ] support request

**ionicons version:**
```
ionicons v4.4.6
```

Current behavior:
Currently the icon class gets the svg content without sending the cookies in microsoft edge on desktop and in every navigator on iPad. By default, fetch won't send or receive any cookies from the server, resulting in unauthenticated requests if the site relies on maintaining a user session (to send cookies, the credentials init option must be set). This means that those svgs can't be hosted on a server requesting auth.

Expected behavior:
I would expect that a credentials init option is set to same-origin or include.

If there are cases I haven't thought of, please let me know. I'd also be happy with a config option to change the value.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.