File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/java/ru/mystamps/web/support/spring/security
test/java/ru/mystamps/web/support/spring/security Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ class ContentSecurityPolicyHeaderWriter implements HeaderWriter {
62
62
private static final String FONT_SRC_CDN = "font-src https://maxcdn.bootstrapcdn.com" ;
63
63
64
64
// CheckStyle: ignore LineLength for next 1 line
65
- private static final String REPORT_URI = "report-uri https://mystamps.report-uri.io /r/default /csp/reportOnly" ;
65
+ private static final String REPORT_URI = "report-uri https://mystamps.report-uri.com /r/d /csp/reportOnly" ;
66
66
67
67
// - 'https://cdn.rawgit.com' is required by languages.min.css (TODO: GH #246)
68
68
private static final String STYLE_SRC = "style-src https://cdn.rawgit.com" ;
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ public void onIndexPageWithLocalResources() {
83
83
84
84
assertThat (
85
85
directives ,
86
- hasItemInArray ("report-uri https://mystamps.report-uri.io /r/default /csp/reportOnly" )
86
+ hasItemInArray ("report-uri https://mystamps.report-uri.com /r/d /csp/reportOnly" )
87
87
);
88
88
89
89
assertThat (directives , hasItemInArray ("style-src https://cdn.rawgit.com 'self'" ));
@@ -114,7 +114,7 @@ public void onIndexPageWithResourcesFromCdn() {
114
114
115
115
assertThat (
116
116
directives ,
117
- hasItemInArray ("report-uri https://mystamps.report-uri.io /r/default /csp/reportOnly" )
117
+ hasItemInArray ("report-uri https://mystamps.report-uri.com /r/d /csp/reportOnly" )
118
118
);
119
119
120
120
assertThat (
You can’t perform that action at this time.
0 commit comments