| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -70,7 +70,7 @@ function parseTypeAndSubtype(str) { | |||
| 70 | 70 | const invalidSubtypeIndex = SafeStringPrototypeSearch(trimmedSubtype, | |
| 71 | 71 | NOT_HTTP_TOKEN_CODE_POINT); | |
| 72 | 72 | if (trimmedSubtype === '' || invalidSubtypeIndex !== -1) { | |
| 73 | - throw new ERR_INVALID_MIME_SYNTAX('subtype', str, trimmedSubtype); | ||
| 73 | + throw new ERR_INVALID_MIME_SYNTAX('subtype', str, invalidSubtypeIndex); | ||
| 74 | 74 | } | |
| 75 | 75 | const subtype = toASCIILower(trimmedSubtype); | |
| 76 | 76 | return [ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments