diff --git a/Libraries/Blob/URL.js b/Libraries/Blob/URL.js index 9bcc8060e05e27..77b4d7f94d6d7f 100644 --- a/Libraries/Blob/URL.js +++ b/Libraries/Blob/URL.js @@ -101,7 +101,13 @@ export class URLSearchParams { } const last = this._searchParams.length - 1; return this._searchParams.reduce((acc, curr, index) => { - return acc + curr.join('=') + (index === last ? '' : '&'); + return ( + acc + + encodeURIComponent(curr[0]) + + '=' + + encodeURIComponent(curr[1]) + + (index === last ? '' : '&') + ); }, ''); } }