File tree 4 files changed +3
-6
lines changed
test/java/ru/mystamps/web/support/spring/security
4 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public final class ResourceUrl {
32
32
public static final String STATIC_RESOURCES_URL = "https://stamps.filezz.ru" ;
33
33
34
34
// MUST be updated when any of our resources were modified
35
- public static final String RESOURCES_VERSION = "v0.4.2.1 " ;
35
+ public static final String RESOURCES_VERSION = "v0.4.2.2 " ;
36
36
37
37
// CheckStyle: ignore LineLength for next 10 lines
38
38
private static final String CATALOG_UTILS_JS = "/public/js/" + RESOURCES_VERSION + "/CatalogUtils.min.js" ;
Original file line number Diff line number Diff line change @@ -148,9 +148,8 @@ class ContentSecurityPolicyHeaderWriter implements HeaderWriter {
148
148
// - 'https://unpkg.com' is required by react/react-dom
149
149
private static final String SCRIPTS_SERIES_INFO_PAGE = " https://unpkg.com" ;
150
150
151
- // - 'unsafe-eval' is required by loader.js from Google Charts
152
151
// - 'https://www.gstatic.com' is required by Google Charts
153
- private static final String SCRIPT_COLLECTION_INFO = " 'unsafe-eval' https://www.gstatic.com" ;
152
+ private static final String SCRIPT_COLLECTION_INFO = " https://www.gstatic.com" ;
154
153
155
154
// - 'self' is required for AJAX requests from our scripts
156
155
// (country suggestions on /series/add and series sale import on /series/{id})
Original file line number Diff line number Diff line change 4
4
//
5
5
6
6
function initPage ( statByCategories , statByCountries ) {
7
- var chartsVersion = '44 ' ;
7
+ var chartsVersion = '47 ' ;
8
8
google . charts . load ( chartsVersion , { 'packages' :[ 'corechart' ] } ) ;
9
9
google . charts . setOnLoadCallback ( function drawCharts ( ) {
10
10
drawChart ( 'categories-chart' , createDataTable ( statByCategories ) ) ;
Original file line number Diff line number Diff line change @@ -144,7 +144,6 @@ public void onCollectionInfoPageWithLocalResources() {
144
144
+ "'report-sample' "
145
145
+ "'unsafe-inline' "
146
146
+ "'self' "
147
- + "'unsafe-eval' "
148
147
+ "https://www.gstatic.com"
149
148
)
150
149
// hope that all other directives are the same as on the index page
@@ -175,7 +174,6 @@ public void onCollectionInfoPageWithResourcesFromCdn() {
175
174
+ "https://stamps.filezz.ru "
176
175
+ "https://maxcdn.bootstrapcdn.com "
177
176
+ "https://yandex.st "
178
- + "'unsafe-eval' "
179
177
+ "https://www.gstatic.com"
180
178
)
181
179
// hope that all other directives are the same as on the index page
You can’t perform that action at this time.
0 commit comments