From 4616a51874c8342765ef98bf3eee8af1cbca4a7a Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 8 May 2013 13:22:56 -0400 Subject: [PATCH] Fix #318, x-www-form-urlencoded, not x-www-urlencoded --- chrome/content/zotero/xpcom/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/server.js b/chrome/content/zotero/xpcom/server.js index 5a84e6297c..120ebb696c 100755 --- a/chrome/content/zotero/xpcom/server.js +++ b/chrome/content/zotero/xpcom/server.js @@ -369,7 +369,7 @@ Zotero.Server.DataListener.prototype._processEndpoint = function(method, postDat this._requestFinished(this._generateResponse(400, "text/plain", "Invalid JSON provided\n")); return; } - } else if(supportedDataTypes && this.contentType === "application/x-www-urlencoded") { + } else if(supportedDataTypes && this.contentType === "application/x-www-form-urlencoded") { decodedData = Zotero.Server.decodeQueryString(postData); } else { decodedData = postData;