You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which Transloco package(s) are the source of the bug?
MessageFormat
Is this a regression?
Yes
Current behavior
We are trying to remove 'unsafe-eval' from CSP, getting below error.
EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'
Expected behavior
There should not be error after removing unsafe-eval from CSP as we handled through nonce
Please provide a link to a minimal reproduction of the bug, if you won't provide a link the issue won't be handled.
Is there an existing issue for this?
Which Transloco package(s) are the source of the bug?
MessageFormat
Is this a regression?
Yes
Current behavior
We are trying to remove 'unsafe-eval' from CSP, getting below error.
EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'
Expected behavior
There should not be error after removing unsafe-eval from CSP as we handled through nonce
Please provide a link to a minimal reproduction of the bug, if you won't provide a link the issue won't be handled.
#364
Transloco Config
No response
Please provide the environment you discovered this bug in
Browser
No response
Additional context
No response
I would like to make a pull request for this bug
Yes 🚀
The text was updated successfully, but these errors were encountered: