-
Notifications
You must be signed in to change notification settings - Fork 21
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 #4340
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unoduetre
force-pushed
the
2938-silently-handle-invalid-byte-sequence-in-utf-8-errors-l
branch
from
October 25, 2024 13:12
7e99f3b
to
64396a0
Compare
unoduetre
force-pushed
the
2938-enable-form-data-sanitisation
branch
from
October 25, 2024 13:18
8ddcb49
to
5ef26e9
Compare
unoduetre
force-pushed
the
2938-enable-form-data-sanitisation
branch
from
October 28, 2024 12:00
5ef26e9
to
a6f39e0
Compare
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
force-pushed
the
2938-enable-form-data-sanitisation
branch
from
October 28, 2024 14:45
a6f39e0
to
c73dd54
Compare
unoduetre
changed the base branch from
2938-different-approach
to
2938-silently-handle-invalid-byte-sequence-in-utf-8-errors-l
October 28, 2024 14:47
unoduetre
force-pushed
the
2938-silently-handle-invalid-byte-sequence-in-utf-8-errors-l
branch
from
October 31, 2024 10:46
2884d19
to
84bbc37
Compare
Base automatically changed from
2938-silently-handle-invalid-byte-sequence-in-utf-8-errors-l
to
main
October 31, 2024 10:52
unoduetre
force-pushed
the
2938-enable-form-data-sanitisation
branch
from
October 31, 2024 10:57
c73dd54
to
38b59e0
Compare
See: * https://github.com/whitequark/rack-utf8_sanitizer/blob/b069c9ef6d69e58695ec9a7cad68c41b57812468/lib/rack/utf8_sanitizer.rb#L21 * https://github.com/whitequark/rack-utf8_sanitizer/blob/b069c9ef6d69e58695ec9a7cad68c41b57812468/lib/rack/utf8_sanitizer.rb#L84 * https://github.com/whitequark/rack-utf8_sanitizer/blob/b069c9ef6d69e58695ec9a7cad68c41b57812468/lib/rack/utf8_sanitizer.rb#L121
unoduetre
force-pushed
the
2938-enable-form-data-sanitisation
branch
from
October 31, 2024 12:08
38b59e0
to
385cbfd
Compare
hannako
approved these changes
Oct 31, 2024
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.
Thanks Mat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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