Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1ad379e

Browse filesBrowse files
committed
fix: do not output user-input url params directly to the response html
1 parent 0266bbb commit 1ad379e
Copy full SHA for 1ad379e

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎packages/@vue/cli-ui/apollo-server/connectors/client-addons.js

Copy file name to clipboardExpand all lines: packages/@vue/cli-ui/apollo-server/connectors/client-addons.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function serve (req, res) {
6363
}
6464
} else {
6565
res.status(404)
66-
res.send(`Addon ${id} not found in loaded addons. Try opening a vue-cli project first?`)
66+
res.send('Addon not found in loaded addons. Try opening a vue-cli project first?')
6767
}
6868
}
6969

‎packages/@vue/cli-ui/apollo-server/connectors/plugins.js

Copy file name to clipboardExpand all lines: packages/@vue/cli-ui/apollo-server/connectors/plugins.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ function serveFile ({ pluginId, projectId = null, file }, res) {
648648
}
649649

650650
res.status(404)
651-
res.send(`Addon ${pluginId} not found in loaded addons. Try opening a vue-cli project first?`)
651+
res.send('Addon not found in loaded addons. Try opening a vue-cli project first?')
652652
}
653653

654654
function serve (req, res) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.