Skip to content

Commit

Permalink
fix: do not output user-input url params directly to the response html
Browse files Browse the repository at this point in the history
  • Loading branch information
sodatea committed Oct 11, 2021
1 parent c3be5ee commit 2658903
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -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?')
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/@vue/cli-ui/apollo-server/connectors/plugins.js
Expand Up @@ -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) {
Expand Down

0 comments on commit 2658903

Please sign in to comment.