morgan pushed to branch tor-browser-140.0a1-15.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
37eb9b82
by Henry Wilkes at 2025-06-16T17:45:53+00:00
1 changed file:
Changes:
... | ... | @@ -580,7 +580,7 @@ export class DomainFrontRequestBuilder { |
580 | 580 | const inStream = Cc[
|
581 | 581 | "@mozilla.org/io/string-input-stream;1"
|
582 | 582 | ].createInstance(Ci.nsIStringInputStream);
|
583 | - inStream.setData(body, body.length);
|
|
583 | + inStream.setByteStringData(body);
|
|
584 | 584 | const upChannel = ch.QueryInterface(Ci.nsIUploadChannel);
|
585 | 585 | upChannel.setUploadStream(inStream, contentType, body.length);
|
586 | 586 | ch.requestMethod = method;
|