Skip to content

WIP Sanitise personalisation feature for Java client library#266

Draft
CrystalPea wants to merge 4 commits into
mainfrom
mat-sanitise-personalisation
Draft

WIP Sanitise personalisation feature for Java client library#266
CrystalPea wants to merge 4 commits into
mainfrom
mat-sanitise-personalisation

Conversation

@CrystalPea

@CrystalPea CrystalPea commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

So that users can tell us to sanitise content for specific placeholders. This is part of the work to mitigate against the placeholder injection vulnerability.

Accompanying docs: alphagov/notifications-tech-docs#346

What problem does the pull request solve?

Checklist

  • I’ve used the pull request template
  • I’ve written unit tests for these changes
  • I’ve updated the documentation in
  • I’ve bumped the version number
    • in src/main/resources/application.properties
    • in pom.xml

@CrystalPea CrystalPea force-pushed the mat-sanitise-personalisation branch 2 times, most recently from a1ccfc3 to 97a2fca Compare July 10, 2026 14:11
}

@Override
@Override

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I don't know if java cares about indentation for annotations but I think it should be one tab to the left

@CrystalPea CrystalPea force-pushed the mat-sanitise-personalisation branch from 97a2fca to 1d8aad2 Compare July 10, 2026 14:24
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