We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efbccd1 commit 7281f62Copy full SHA for 7281f62
extension/modules/ContentPolicy.jsm
@@ -374,7 +374,8 @@ var PolicyPrivate = {
374
if (uploadChannel && uploadChannel.uploadStream)
375
{
376
let len = uploadChannel.uploadStream.available();
377
- post = NetUtil.readInputStreamToString(uploadChannel.uploadStream, len);
+ if (len > 0)
378
+ post = NetUtil.readInputStreamToString(uploadChannel.uploadStream, len);
379
}
380
381
// Pass the navigation paramters througth tab attributes
0 commit comments