Skip to content

Pp 14390 update csp pay js commons#1402

Merged
iqbalgds merged 2 commits into
masterfrom
PP-14390-update-csp-pay-js-commons
Sep 29, 2025
Merged

Pp 14390 update csp pay js commons#1402
iqbalgds merged 2 commits into
masterfrom
PP-14390-update-csp-pay-js-commons

Conversation

@iqbalgds
Copy link
Copy Markdown
Contributor

@iqbalgds iqbalgds commented Sep 29, 2025

PP-14390 Fix issues with CSP middleware

  • Expose the CSP correctly as a NPM module.
  • Clean up files
  • Move the hasSubstr into the CSP middleware file as that is the only place it is being used.
    • Also combine the unit tests into the CSP
      middleware test file.

@iqbalgds iqbalgds force-pushed the PP-14390-update-csp-pay-js-commons branch from 7abcc30 to a6a8c79 Compare September 29, 2025 11:21
AbdirizakIdris
AbdirizakIdris previously approved these changes Sep 29, 2025
Copy link
Copy Markdown
Contributor

@AbdirizakIdris AbdirizakIdris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

- Clean up files
- Move the `hasSubstr` into the CSP middleware file  as that is the only place it is being used.
  - Also combine the unit tests into the CSP
    middleware test file.
Copy link
Copy Markdown
Contributor

@AbdirizakIdris AbdirizakIdris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests passing now!

@iqbalgds iqbalgds merged commit 0ea8ace into master Sep 29, 2025
4 checks passed
@iqbalgds iqbalgds deleted the PP-14390-update-csp-pay-js-commons branch September 29, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants