File tree Expand file tree Collapse file tree
main/java/ru/mystamps/web/support/spring/security
test/java/ru/mystamps/web/support/spring/security Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ class ContentSecurityPolicyHeaderWriter implements HeaderWriter {
117117
118118 // - 'sha256-bsV...' is required for '.htmx-indicator{opacity:0} ...' inline CSS
119119 private static final String STYLE_HTMX =
120- " 'sha256-bsV5JivYxvGywDAZ22EZJKBFip65Ng9xoJVLbBg7bdo ='" ;
120+ " 'sha256-faU7yAF8NxuMTNEwVmBz+VcYeIoBQ2EMHW3WaVxCvnk ='" ;
121121
122122 // - 'unsafe-inline' is required by jquery.min.js (that is using code inside of
123123 // event handlers. We can't use hashing algorithms because they aren't supported
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ public void onSeriesAddImagePageWithLocalResources() {
222222 + " https://cdn.jsdelivr.net"
223223 + " 'self'"
224224 + " 'sha256-DpmxvnMJIlwkpmmAANZYNzmyfnX2PQCBDO4CB2BFjzU='"
225- + " 'sha256-bsV5JivYxvGywDAZ22EZJKBFip65Ng9xoJVLbBg7bdo ='"
225+ + " 'sha256-faU7yAF8NxuMTNEwVmBz+VcYeIoBQ2EMHW3WaVxCvnk ='"
226226 + " 'unsafe-hashes'"
227227 )
228228 .contains ("connect-src 'self'" )
@@ -252,7 +252,7 @@ public void onSeriesAddImagePageWithResourcesFromCdn() {
252252 + " https://stamps.filezz.ru"
253253 + " https://maxcdn.bootstrapcdn.com"
254254 + " 'sha256-DpmxvnMJIlwkpmmAANZYNzmyfnX2PQCBDO4CB2BFjzU='"
255- + " 'sha256-bsV5JivYxvGywDAZ22EZJKBFip65Ng9xoJVLbBg7bdo ='"
255+ + " 'sha256-faU7yAF8NxuMTNEwVmBz+VcYeIoBQ2EMHW3WaVxCvnk ='"
256256 + " 'unsafe-hashes'"
257257 )
258258 .contains (
You can’t perform that action at this time.
0 commit comments