Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ESB-1195 Introduce minimal CSP policy for the admin-console #349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release/7.5
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
ESB-1195 Introduce minimal CSP policy for the admin-console #349
Changes from all commits
1fa5322File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check warning on line 329 in engine/src/main/java/com/agiletec/aps/system/SystemConstants.java
Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.
Check warning on line 330 in engine/src/main/java/com/agiletec/aps/system/SystemConstants.java
Do not forget to remove this deprecated code someday.
Check failure on line 48 in engine/src/main/java/org/entando/entando/aps/servlet/StartupListener.java
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
Check warning on line 84 in engine/src/main/java/org/entando/entando/aps/servlet/StartupListener.java
Use the built-in formatting to construct this argument.
Check warning on line 52 in portal-ui/src/main/java/org/entando/entando/aps/servlet/CspHeaderFilter.java
Replace this instanceof check and cast with 'instanceof HttpServletRequest httpservletrequest'
Check warning on line 65 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "when".
Check warning on line 66 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "when".
Check warning on line 67 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "when".
Check warning on line 69 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "verify".
Check warning on line 70 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "verify".
Check warning on line 75 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "when".
Check warning on line 76 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "when".
Check warning on line 77 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "when".
Check warning on line 79 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "verify".
Check warning on line 80 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "verify".
Check warning on line 81 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "verify".
Check warning on line 86 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "when".
Check warning on line 88 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "verify".
Check warning on line 89 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "verify".
Check warning on line 94 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "when".
Check warning on line 95 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "when".
Check warning on line 97 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "verify".
Check warning on line 98 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "verify".
Check warning on line 103 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "when".
Check warning on line 104 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "when".
Check warning on line 106 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "when".
Check warning on line 109 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "verify".
Check warning on line 112 in portal-ui/src/test/java/org/entando/entando/aps/servlet/CspHeaderFilterTest.java
Use a static import for "verify".
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.