-
Notifications
You must be signed in to change notification settings - Fork 1.7k
ContentType with utf-8 not encoded properly in Dart 3.6 #59719
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
Comments
\cc @brianquinlan |
I can repro this regression. |
The regression was introduced by e8c0353#diff-20950a3598c59676d6479c783a26cabfb41b9ae425c455b80ece9384c5d1332dR1072 The fix is straightforward but the behavior here is tricky so I'm going to add a bunch of additional tests. |
copybara-service bot
pushed a commit
that referenced
this issue
Dec 26, 2024
Loading
Loading status checks…
Bug:#59719 Change-Id: Ie2606b557b1f9f50d52de23c56d36b45e52efda1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/402281 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Brian Quinlan <bquinlan@google.com>
FYI, I've requested that this be cherrypicked into Dart 3.6.1: #59813 |
It seems not part of 3.6.1, is it? |
copybara-service bot
pushed a commit
that referenced
this issue
Jan 17, 2025
Loading
Loading status checks…
… charset. Bug:#59719 Change-Id: Ief2f79d98a400f90d2098cd2f3cd8312325c91cb Cherry-pick: https://dart-review.googlesource.com/c/sdk/+/402281 Cherry-pick-request: #59813 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/402422 Reviewed-by: Kevin Moore <kevmoo@google.com> Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Brian Quinlan <bquinlan@google.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When servicing the following code, it'll throw an exception,
Latin1Codec.encode
. Looks like the encoding is not used properlyIt happens only in Dart 3.6.0. It works fine with 3.5.x.
The stack trace:
The text was updated successfully, but these errors were encountered: