Skip to content

fix(cli): Ignore query parameter in dev server#8697

Merged
amrbashir merged 2 commits into1.xfrom
devserver-queryparam
Jan 29, 2024
Merged

fix(cli): Ignore query parameter in dev server#8697
amrbashir merged 2 commits into1.xfrom
devserver-queryparam

Conversation

@FabianLars
Copy link
Member

fixes #8148
additional ref: https://discord.com/channels/616186924390023171/1201199918379974766

imho query parameters have no business being in frontend file names (same for # but the browser doesn't send that part to the server so doesn't matter here).

This should now also match the behavior after tauri build.

The asset protocol should be able to handle it fine due to the url encoding, so devs can still load files with weird filenames that aren't part of the frontend.

@FabianLars FabianLars requested a review from amrbashir January 29, 2024 12:40
@FabianLars FabianLars requested a review from a team as a code owner January 29, 2024 12:40
amrbashir
amrbashir previously approved these changes Jan 29, 2024
@amrbashir amrbashir merged commit 0bff8c3 into 1.x Jan 29, 2024
@amrbashir amrbashir deleted the devserver-queryparam branch January 29, 2024 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants