Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[web] Fix window.defaultRouteName #17580

Merged
merged 2 commits into from
Apr 8, 2020
Merged

Conversation

mdebbar
Copy link
Contributor

@mdebbar mdebbar commented Apr 7, 2020

This PR contains 2 fixes:

  1. Sticky window.defaultRouteName was causing routing issues after navigating in the app.
  2. Stop prepending "/" to all route names (i.e. allow routes that don't start with a slash to work properly in Flutter).

Fixes flutter/flutter#50639

This might also fix the problems seen in this issue: flutter/flutter#43982 but it's hard to tell since there's no consistent repro.

@mdebbar mdebbar added the platform-web Code specifically for the web engine label Apr 7, 2020
@mdebbar mdebbar requested review from yjbanov, ferhatb and nturgut April 7, 2020 23:33
@mdebbar mdebbar self-assigned this Apr 7, 2020
@mdebbar
Copy link
Contributor Author

mdebbar commented Apr 8, 2020

Re-ran the Windows Host Engine task in LUCI and it passed but Github didn't pick it up for some reason. Merging..

@mdebbar mdebbar merged commit b0b67ef into flutter:master Apr 8, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 8, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 8, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 9, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 9, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 9, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 9, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 9, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 9, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 10, 2020
goderbauer pushed a commit to goderbauer/engine that referenced this pull request Apr 16, 2020
@mdebbar mdebbar deleted the routing_issues branch April 15, 2021 17:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes platform-web Code specifically for the web engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[web] app crashes after hitting url directly in browser
3 participants