-
Notifications
You must be signed in to change notification settings - Fork 127
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
Add CSP Headers to AtoM Responses #1646
Conversation
e2b7984
to
9516f16
Compare
19169e5
to
6785ce4
Compare
plugins/arDominionB5Plugin/modules/accession/templates/_alternativeIdentifiers.php
Outdated
Show resolved
Hide resolved
plugins/arDominionB5Plugin/modules/accession/templates/_events.php
Outdated
Show resolved
Hide resolved
plugins/arDominionB5Plugin/modules/accession/templates/_relatedDonor.php
Outdated
Show resolved
Hide resolved
plugins/arDominionB5Plugin/modules/accession/templates/browseSuccess.php
Outdated
Show resolved
Hide resolved
plugins/arDominionB5Plugin/modules/actor/templates/_occupations.php
Outdated
Show resolved
Hide resolved
plugins/arDominionB5Plugin/modules/informationobject/templates/_childLevels.php
Outdated
Show resolved
Hide resolved
plugins/arDominionB5Plugin/modules/informationobject/templates/_identifierOptions.php
Outdated
Show resolved
Hide resolved
plugins/arDominionB5Plugin/modules/informationobject/templates/multiFileUploadSuccess.php
Outdated
Show resolved
Hide resolved
plugins/arDominionB5Plugin/modules/repository/templates/_uploadLimit.php
Show resolved
Hide resolved
plugins/arDominionB5Plugin/modules/repository/templates/_uploadLimit.php
Show resolved
Hide resolved
plugins/arDominionB5Plugin/modules/repository/templates/_uploadLimit.php
Show resolved
Hide resolved
plugins/arDominionB5Plugin/modules/sfDcPlugin/templates/_dcDates.php
Outdated
Show resolved
Hide resolved
plugins/arDominionB5Plugin/modules/sfDcPlugin/templates/_dcNames.php
Outdated
Show resolved
Hide resolved
plugins/arDominionB5Plugin/modules/sfDcPlugin/templates/editSuccess.php
Outdated
Show resolved
Hide resolved
plugins/arDominionB5Plugin/modules/sfIsadPlugin/templates/_event.php
Outdated
Show resolved
Hide resolved
plugins/arDominionB5Plugin/modules/sfModsPlugin/templates/editSuccess.php
Outdated
Show resolved
Hide resolved
9bb3718
to
0a8df9f
Compare
plugins/arDominionB5Plugin/modules/accession/templates/_alternativeIdentifiers.php
Show resolved
Hide resolved
25e03f8
to
52f6ee9
Compare
9e966b2
to
dbfb107
Compare
dbfb107
to
9d39065
Compare
Hi @jraddaoui and @anvit - this is ready for code review. Because of some decision changes during the course of development, it is easiest to review using the "files changed" view. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! Also love that this cleans up a lot of inline styles for BS5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Just a couple of small things I think are important.
Hi @jraddaoui - thanks for your feedback! @FitiaHarena and I have added commits to address the items you mentioned... ready for re-review. 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat, thank you both!
4fc81d0
to
86a2f92
Compare
Add Content Security Policy (CSP) headers to AtoM responses when B5 themes are enabled. The 'app_csp_reponse_header' setting is used to switch between using 'Content-Security-Policy-Report-Only' or 'Content-Security-Policy' headers. Deleting the setting will disable CSP headers. The default setting for 'app_csp_reponse_header' is 'Content-Security-Policy' so CSP headers will be added to AtoM responses by default. The 'app_csp_directives' setting is used to tweak the actual header contents. If this setting is not present CSP headers will be disabled. Co-authored-by: FitiaHarena <[email protected]>
86a2f92
to
d796a1f
Compare
Add Content Security Policy (CSP) headers to AtoM responses when B5 themes are enabled.
The 'app_csp_reponse_header' setting is used to switch between using 'Content-Security-Policy-Report-Only' or 'Content-Security-Policy' headers. Deleting the setting will disable CSP headers.
The 'app_csp_directives' setting is used to tweak the actual header contents.