Skip to content
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

FPET-1227: Add middleware to sanitise form data #1726

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

hcarslaw
Copy link
Contributor

JIRA link (if applicable)

https://tools.hmcts.net/jira/browse/FPET-1227

Change description

Adds middleware to sanitise the form data to reduce the risk of XSS attacks.

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

src/main/routes.ts Outdated Show resolved Hide resolved
src/main/routes.ts Outdated Show resolved Hide resolved
src/main/routes.ts Outdated Show resolved Hide resolved
src/main/routes.ts Outdated Show resolved Hide resolved
src/main/modules/sanitize-request/index.ts Outdated Show resolved Hide resolved
src/main/modules/sanitize-request/index.ts Outdated Show resolved Hide resolved
src/main/routes.ts Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants