mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
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:
parent
139c82f933
commit
e2e4c246fa
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user