Skip to content

fix: ensure req.url matches moduleByEtag URL to avoid incorrect 304 r…#17997

Merged
patak-cat merged 5 commits intovitejs:mainfrom
coderwei99:fix/coderwei
Sep 10, 2024
Merged

fix: ensure req.url matches moduleByEtag URL to avoid incorrect 304 r…#17997
patak-cat merged 5 commits intovitejs:mainfrom
coderwei99:fix/coderwei

Conversation

@coderwei99
Copy link
Copy Markdown
Contributor

close: #17987

@bolt-new-by-stackblitz
Copy link
Copy Markdown

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

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

bluwy commented Sep 3, 2024

/ecosystem-ci run

@vite-ecosystem-ci
Copy link
Copy Markdown

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

@patak-cat patak-cat 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.

Comment thread packages/vite/LICENSE.md Outdated
Comment thread packages/vite/LICENSE.md Outdated
Comment thread packages/vite/LICENSE.md Outdated
@patak-cat patak-cat enabled auto-merge (squash) September 9, 2024 14:38
@patak-cat patak-cat merged commit abf04c3 into vitejs:main Sep 10, 2024
@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-cat 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