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
Flutter Web engine removes query parameter encoding #147857
Labels
found in release: 3.19
Found to occur in 3.19
found in release: 3.22
Found to occur in 3.22
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
platform-web
Web applications specifically
team-web
Owned by Web platform team
Comments
From
|
Thanks for the report. I was able to replicate this using latest versions. stable, master flutter doctor -v
|
darshankawar
added
platform-web
Web applications specifically
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
team-web
Owned by Web platform team
found in release: 3.19
Found to occur in 3.19
found in release: 3.22
Found to occur in 3.22
and removed
in triage
Presently being triaged by the triage team
labels
May 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
found in release: 3.19
Found to occur in 3.19
found in release: 3.22
Found to occur in 3.22
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
platform-web
Web applications specifically
team-web
Owned by Web platform team
Steps to reproduce
Expected results
The url should be set to
/test?query=abc%23d
Actual results
The url is set to
/test?query=abc#d
As the result of this, if the uri is processed again (e.g. by RouterDelegate) the query parameter will be
abc
instead ofabc#d
, because#
wasn't properly escaped.The possible culprit is this Uri.decodeComponent() in engine's code
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: