flutter/packages/flutter_web_plugins/test/navigation
Severin cab29b2034
Fix platformLocation path and search dropping (#126232)
This PR fixes the dropping of both the `path` and `search` fields from the platform location in the URL when using Flutter Web and brings it in par with similar technologies (e.g. React Router).
It allows developers to keep the original path and/or search parameters in the URL, which are perfectly valid even while fragment routing is present.

**Example use case:**
Call a Flutter Web app with initial config parameters in the URL: 
`http://my-flutter.app/?skipIntro=true`

**Example:**
Before initial routing:
`http://localhost:45389/?foo=bar`
After routing:
`http://localhost:45389/#/menu`
After routing (with fix):
`http://localhost:45389/?foo=bar#menu`

Fixes #116415
2023-05-09 16:38:49 +00:00
..
common.dart Use direct dart API from dart:ui_web rather than JS shim. (#123443) 2023-05-05 18:17:21 +00:00
non_web_url_strategy_test.dart Use direct dart API from dart:ui_web rather than JS shim. (#123443) 2023-05-05 18:17:21 +00:00
url_strategy_test.dart Fix platformLocation path and search dropping (#126232) 2023-05-09 16:38:49 +00:00
utils_test.dart Enable dangling_library_doc_comments and library_annotations lints (#117365) 2022-12-20 16:03:21 -08:00