-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed as not planned
Closed as not planned
Copy link
Labels
r: duplicateIssue is closed as a duplicate of an existing issueIssue is closed as a duplicate of an existing issue
Description
Steps to reproduce
Set base href in document to "/"
Make a web app that uses url path strategy
Try to refresh app from "/someURL"
Expected results
main.dart.js is loaded from /main.dart.js
Actual results
/ is stripped from base url during URL resolution and main.dart.js is loaded relative to document instead of root
This regression is caused by recent changes here:
https://github.com/flutter/engine/blob/main/lib/web_ui/flutter_js/src/utils.js
https://github.com/flutter/engine/blob/main/lib/web_ui/flutter_js/src/entrypoint_loader.js
In 3.22 the / is not stripped, but in 3.24 it is stripped.
Code sample
Code sample
[Paste your code here]Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]Flutter Doctor output
Doctor output
[Paste your output here]dmitry-fbm
Metadata
Metadata
Assignees
Labels
r: duplicateIssue is closed as a duplicate of an existing issueIssue is closed as a duplicate of an existing issue