Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jan 29, 2024
Merged

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 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
12 checks passed
@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