Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make inline javascript compatible with CSP #8

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

irkallacz
Copy link

n:nonce macro is important when CSP is used and only way that direct JS is gonna work, is with nonce attribute (witch macro provide).

If CSP is not on, it doesn't do anything, so it is no big deal to implement.

n:nonce macro is important when CSP is used and only way that direct JS is gona work is with nonce attribute (witch macro provide). It harmless otherwise.
Make javascript compatible with CSP
In nette 3.0 services should be specified with factory not class attribute
Replace parseServices, with loadDefinitionsFromConfig method
@echo511
Copy link
Owner

echo511 commented Dec 20, 2019

You should not change package name. Also I do not develop this extension anymore so if you would like to maintain it some may appreciate it.

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

Successfully merging this pull request may close these issues.

2 participants