Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: improve uri error warning
  • Loading branch information
bluwy committed Sep 24, 2025
commit 1f3d1d20f8e9d25056ee8053e37a135ddd4411c5
4 changes: 3 additions & 1 deletion packages/vite/src/node/server/middlewares/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ export function transformMiddleware(
} catch (e) {
if (e instanceof URIError) {
server.config.logger.warn(
colors.yellow('Malformed URI sequence in request URL'),
colors.yellow(
`Malformed URI sequence in request URL: ${removeTimestampQuery(req.url!)}`,
),
)
return next()
}
Expand Down
Loading