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: ensure req.url matches moduleByEtag URL to avoid incorrect 304 r… #17997

Merged
merged 5 commits into from
Sep 10, 2024

Conversation

coderwei99
Copy link
Contributor

close: #17987

Copy link

stackblitz bot commented Sep 2, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@bluwy bluwy requested a review from patak-dev September 3, 2024 07:49
@bluwy
Copy link
Member

bluwy commented Sep 3, 2024

/ecosystem-ci run

patak-dev
patak-dev previously approved these changes Sep 9, 2024
Copy link
Member

@patak-dev patak-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The detailed explanation in the issue is fantastic! Thanks for the fix and sorry for the glitch.

packages/vite/LICENSE.md Outdated Show resolved Hide resolved
packages/vite/LICENSE.md Outdated Show resolved Hide resolved
packages/vite/LICENSE.md Outdated Show resolved Hide resolved
@patak-dev patak-dev enabled auto-merge (squash) September 9, 2024 14:38
@patak-dev patak-dev merged commit abf04c3 into vitejs:main Sep 10, 2024
12 checks passed
@coderwei99 coderwei99 deleted the fix/coderwei branch September 11, 2024 02:00
@coderwei99 coderwei99 restored the fix/coderwei branch September 11, 2024 02:02
patak-dev added a commit that referenced this pull request Sep 11, 2024
…d incorrect 304 (#18078)

Co-authored-by: coderwei <65948611+coderwei99@users.noreply.github.com>
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.

[Bug] Dev server resolves wrong module for provided ETag, leading to stale content
3 participants