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
mdebbar merged 2 commits into
flutter-team-archive:masterfrom
mdebbar:routing_issues
Apr 8, 2020
Merged

mdebbar merged 2 commits into
flutter-team-archive:masterfrom
mdebbar:routing_issues

Conversation

@mdebbar

@mdebbar mdebbar commented Apr 7, 2020

Copy link
Copy Markdown
Contributor

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 ferhatb, nturgut and yjbanov April 7, 2020 23:33
@mdebbar mdebbar self-assigned this Apr 7, 2020
Comment thread lib/web_ui/lib/src/engine/browser_location.dart
@mdebbar

mdebbar commented Apr 8, 2020

Copy link
Copy Markdown
Contributor Author

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-team-archive: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

Development

Successfully merging this pull request may close these issues.

[web] app crashes after hitting url directly in browser

3 participants