Bug 966659 - Add missing semicolon in SafeBrowsing protocol. r=mmc, a=sledru
authorGian-Carlo Pascutto <gpascutto@mozilla.com>
Wed, 05 Feb 2014 08:37:16 +0100
changeset 182684 3dc65d2e90e14dfe4a2bf02c7fb2154a7872c334
parent 182683 606cf23cae6d014da9a2ef193aa6e1f3c42318d0
child 182685 e73d637566fdbc2485d67937e2f916e770c0cff0
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmmc, sledru
bugs966659
milestone29.0a2
Bug 966659 - Add missing semicolon in SafeBrowsing protocol. r=mmc, a=sledru
toolkit/components/url-classifier/content/listmanager.js
--- a/toolkit/components/url-classifier/content/listmanager.js
+++ b/toolkit/components/url-classifier/content/listmanager.js
@@ -354,17 +354,17 @@ PROT_ListManager.prototype.makeUpdateReq
       request += lines[i] + "\n";
       delete tableNames[fields[0]];
     }
   }
 
   // For each requested table that didn't have chunk data in the database,
   // request it fresh
   for (var tableName in tableNames) {
-    request += tableName + "\n";
+    request += tableName + ";\n";
   }
 
   G_Debug(this, 'checkForUpdates: scheduling request..');
   var streamer = Cc["@mozilla.org/url-classifier/streamupdater;1"]
                  .getService(Ci.nsIUrlClassifierStreamUpdater);
   try {
     streamer.updateUrl = this.updateserverURL_;
   } catch (e) {