mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-24 16:18:57 -06:00
fix: do not output user-input url params directly to the response html
This commit is contained in:
@@ -63,7 +63,7 @@ function serve (req, res) {
|
||||
}
|
||||
} else {
|
||||
res.status(404)
|
||||
res.send(`Addon ${id} not found in loaded addons. Try opening a vue-cli project first?`)
|
||||
res.send('Addon not found in loaded addons. Try opening a vue-cli project first?')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -648,7 +648,7 @@ function serveFile ({ pluginId, projectId = null, file }, res) {
|
||||
}
|
||||
|
||||
res.status(404)
|
||||
res.send(`Addon ${pluginId} not found in loaded addons. Try opening a vue-cli project first?`)
|
||||
res.send('Addon not found in loaded addons. Try opening a vue-cli project first?')
|
||||
}
|
||||
|
||||
function serve (req, res) {
|
||||
|
||||
Reference in New Issue
Block a user