Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Href in templates result in CSP warning #54

Closed
timhoekstra opened this issue Jul 21, 2016 · 1 comment
Closed

Href in templates result in CSP warning #54

timhoekstra opened this issue Jul 21, 2016 · 1 comment

Comments

@timhoekstra
Copy link

I'm having trouble with the templates in our application.
Our application has a content security policy(CSP) enabled that does not allow inline javascript.
The templates used in this UI contain elements which have an href to "javascript:;".
This results in a CSP warning in our application every time we click a link in the swagger UI.

Is it possible to have the library updated with a CSP friendly version which does not contain this behavior?

@mathieuales
Copy link
Collaborator

Hi !
Ok, i'll include this in next release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants