Fix #318, x-www-form-urlencoded, not x-www-urlencoded
This commit is contained in:
parent
2a33ede284
commit
4616a51874
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue