Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55cfd04 commit e4d5201Copy full SHA for e4d5201
1 file changed
packages/vite/src/node/server/middlewares/transform.ts
@@ -127,6 +127,12 @@ export function transformMiddleware(
127
'\0',
128
)
129
} catch (e) {
130
+ if (e instanceof URIError) {
131
+ server.config.logger.warn(
132
+ colors.yellow('Malformed URI sequence in request URL'),
133
+ )
134
+ return next()
135
+ }
136
return next(e)
137
}
138
0 commit comments