зеркало из https://github.com/mozilla/pjs.git
landing change for bug 317628 that was missing in the initial commit.
This commit is contained in:
Родитель
278c938ec2
Коммит
2acb5913db
|
@ -1891,7 +1891,7 @@ function getPostDataStream(aStringData, aKeyword, aEncKeyword, aType)
|
|||
var dataStream = Components.classes["@mozilla.org/io/string-input-stream;1"]
|
||||
.createInstance(Components.interfaces.nsIStringInputStream);
|
||||
aStringData = aStringData.replace(/%s/g, aEncKeyword).replace(/%S/g, aKeyword);
|
||||
dataStream.setData(aStringData, aStringData.length);
|
||||
dataStream.data = aStringData;
|
||||
|
||||
var mimeStream = Components.classes["@mozilla.org/network/mime-input-stream;1"]
|
||||
.createInstance(Components.interfaces.nsIMIMEInputStream);
|
||||
|
|
Загрузка…
Ссылка в новой задаче