We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b63f6db commit e13d70cCopy full SHA for e13d70c
1 file changed
my_modules/statistics.js
@@ -47,7 +47,7 @@ exports.sendStats = (stats) => {
47
},
48
json: true
49
};
50
- request.get(url + JSON.stringify(stats), options, (error, res, body) => {
+ request.get(url + encodeURIComponent(JSON.stringify(stats)), options, (error, res, body) => {
51
if (error) {
52
return console.error("WARNING! Error when sending stats: " + error)
53
} else {
0 commit comments