bug 1380254: Don't send StackTraces field to Socorro; r=gsvelto

MozReview-Commit-ID: 3K5I5ZQam7q

--HG--
extra : rebase_source : 9a089624c8656a136c16f24c3bf9cc002f3f131a
This commit is contained in:
Carl Corcoran 2017-08-28 08:43:24 +02:00
parent 139c82f933
commit e2e4c246fa
2 changed files with 3 additions and 2 deletions

View File

@ -227,7 +227,7 @@ Submitter.prototype = {
.createInstance(Ci.nsIDOMFormData);
// add the data
for (let [name, value] of Object.entries(this.extraKeyVals)) {
if (name != "ServerURL") {
if (name != "ServerURL" && name != "StackTraces") {
formData.append(name, value);
}
}

View File

@ -757,8 +757,9 @@ int main(int argc, char** argv)
}
string sendURL = queryParameters["ServerURL"];
// we don't need to actually send this
// we don't need to actually send these
queryParameters.erase("ServerURL");
queryParameters.erase("StackTraces");
queryParameters["Throttleable"] = "1";