ionic-team / ionic-team/ionic-docs

feat: add ionic's wanted/basic Content-Security-Policy config into the docs (or src/index.html?)

Abierto
#1,573 6 comentarios 1 reacción 0 asignados Ver en GitHub
triage
Lenguaje dominante
MDX
Estrellas
621
Forks
3.2k
Merge medio
1 d 2 h
PR fusionados (30 d)
86

Descripción

# Feature Request

**Ionic version:**
[x] **5.x**

**Describe the Feature Request**
Add information about how to support new protocols on `Content-Security-Policy ` without break Ionic.

**Additional Context**
I want to support the cdvfile protocol and it requires to add cdvfile: to the `Content-Security-Policy` meta tag. Since no one exist I have to play adding and removing tags until I get no more errors in the console.

I was not able to find what was the current "default" `Content-Security-Policy` by an Ionic 5 project.

This is also needed to support web sockets.

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.