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

Enable form data UTF-8 sanitisation #3386

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

unoduetre
Copy link
Contributor

@unoduetre unoduetre commented Oct 25, 2024

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

What

After developing the solution presented in this PR, @hannako decided that it would be good to also sanitise and ignore exceptions raised from form data UTF-8 encoding issues. This PR introduces that change.

Why

As a follow up to the PR resolving this Trello ticket

@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3386 October 25, 2024 09:14 Inactive
@unoduetre unoduetre force-pushed the 2938-enable-form-data-sanitisation branch from 559a027 to 0fde4dd Compare October 25, 2024 13:04
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3386 October 25, 2024 13:04 Inactive
@unoduetre unoduetre force-pushed the 2938-enable-form-data-sanitisation branch from 0fde4dd to c7934c8 Compare October 28, 2024 12:00
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3386 October 28, 2024 12:00 Inactive
@unoduetre unoduetre changed the base branch from 2938-silently-handle-invalid-byte-sequence-in-utf-8-errors-l to 2938-different-approach October 28, 2024 12:01
@unoduetre unoduetre force-pushed the 2938-enable-form-data-sanitisation branch from c7934c8 to 0a7e489 Compare October 28, 2024 14:45
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3386 October 28, 2024 14:45 Inactive
@unoduetre unoduetre changed the base branch from 2938-different-approach to 2938-silently-handle-invalid-byte-sequence-in-utf-8-errors-l-2 October 28, 2024 14:48
@unoduetre unoduetre force-pushed the 2938-silently-handle-invalid-byte-sequence-in-utf-8-errors-l-2 branch from 05a6fc7 to 99f3f8e Compare October 31, 2024 10:46
Base automatically changed from 2938-silently-handle-invalid-byte-sequence-in-utf-8-errors-l-2 to main October 31, 2024 10:52
@unoduetre unoduetre force-pushed the 2938-enable-form-data-sanitisation branch from 0a7e489 to 4b9aa67 Compare October 31, 2024 10:57
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3386 October 31, 2024 10:57 Inactive
@unoduetre unoduetre marked this pull request as ready for review October 31, 2024 11:06
@unoduetre unoduetre force-pushed the 2938-enable-form-data-sanitisation branch from 4b9aa67 to 4b29246 Compare October 31, 2024 12:08
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3386 October 31, 2024 12:09 Inactive
@unoduetre unoduetre merged commit f513616 into main Oct 31, 2024
11 checks passed
@unoduetre unoduetre deleted the 2938-enable-form-data-sanitisation branch October 31, 2024 15:19
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.

3 participants