Skip to content

Commit

Permalink
fix: data-url set extractValue of collectAnHTTPQuotedString by defaul…
Browse files Browse the repository at this point in the history
…t to false (#3717)
  • Loading branch information
Uzlopak authored Oct 11, 2024
1 parent cda5f94 commit b6d53fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/web/fetch/data-url.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,9 +471,9 @@ function forgivingBase64 (data) {
/**
* @param {string} input
* @param {{ position: number }} position
* @param {boolean?} extractValue
* @param {boolean} [extractValue=false]
*/
function collectAnHTTPQuotedString (input, position, extractValue) {
function collectAnHTTPQuotedString (input, position, extractValue = false) {
// 1. Let positionStart be position.
const positionStart = position.position

Expand Down

0 comments on commit b6d53fe

Please sign in to comment.