Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SIGPUBLIC
unantes-orientation-active
Commits
39836800
Commit
39836800
authored
Jun 21, 2021
by
Julien BOUYER
Browse files
UNOTOPLYS-221 fix : ajout de l'url du CKEditor en source safe du content securiy policy
parent
8ded1e4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/unantes/orientactive/config/SecurityConfiguration.java
View file @
39836800
...
...
@@ -63,7 +63,7 @@ public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
.
accessDeniedHandler
(
problemSupport
)
.
and
()
.
headers
()
.
contentSecurityPolicy
(
"default-src 'self'; frame-src 'self' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://storage.googleapis.com; style-src 'self' fonts.googleapis.com 'unsafe-inline'; img-src 'self' data:; font-src 'self' fonts.gstatic.com"
)
.
contentSecurityPolicy
(
"default-src 'self'; frame-src 'self' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://storage.googleapis.com
https://cdn.ckeditor.com
; style-src 'self' fonts.googleapis.com 'unsafe-inline'; img-src 'self' data:; font-src 'self' fonts.gstatic.com"
)
.
and
()
.
referrerPolicy
(
ReferrerPolicyHeaderWriter
.
ReferrerPolicy
.
STRICT_ORIGIN_WHEN_CROSS_ORIGIN
)
.
and
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment