Skip to content

Commit

Permalink
fix(ext/mimesniff): fix parseMimeType
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosc90 committed Oct 10, 2022
1 parent 1ab3691 commit d8b9a1e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ext/web/01_mimesniff.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,12 @@
position = res.position;

// 11.8.2.
position++;
const res2 = collectSequenceOfCodepoints(
input,
position,
(c) => c !== "\u003B",
);
position = res2.position;
} else { // 11.9.
// 11.9.1.
const res = collectSequenceOfCodepoints(
Expand Down

0 comments on commit d8b9a1e

Please sign in to comment.