Commit Graph
1584 Commits
Author SHA1 Message Date
RRFZ 0ceee9dc14 Merge commit '6f07bad8c4794d75f34ff1646199e510b968b094' into bugfix/r3.12-ipv6-no-next-header 2026-11-16 23:18:56 -05:00
BFlat 6f07bad8c4 Merge pull request #2003 from Plastic-time/bugfix/r3.12-html-exact-module-keyword
A script whose type was the module keyword with spaces around it was listed as a classic script, and a whitespace-only type was listed too, although browsers run neither. The keyword and the empty attribute are now matched exactly, before the whitespace trimming that classic script types get. Checked in a Chromium 156 page: padded and tab-prefixed module types and a whitespace-only type did not run.
2026-11-17 11:16:02 +07:00
BFlat 2708ee35c8 Merge pull request #2002 from Plastic-time/bugfix/r3.13-html-meta-csp-list
A page with two meta Content-Security-Policy declarations reported only the last one, and an empty later declaration could hide an earlier policy. Every non-empty policy is now kept, in document order, joined with a comma as a policy list is written.
2026-11-17 11:15:32 +07:00
RRFZ 54c8e6780c Claim R3.12: java-truncated-attributes 2026-11-16 23:14:25 -05:00
RRFZ feff90c291 Claim R3.12: tar-pax-size-precedence 2026-11-16 23:14:22 -05:00
RRFZ 011eeb8f33 Claim R3.12: indexed-map-source-inventory 2026-11-16 23:14:20 -05:00
RRFZ 629ddcae5a Claim R3.12: dos-extended-pe-signature 2026-11-16 23:14:17 -05:00
RRFZ 2ac41bf0af Claim R3.12: ipv6-no-next-header 2026-11-16 23:14:13 -05:00
Dylan M. Taylor 979c35c12c Merge pull request #1997 from storytold/refactor/shared-base64-encoding
Share Base64 encoding for plist and Go format output
2026-11-16 23:10:21 -05:00
NetterSilver 860623745e Reject non-hex characters in website #rrggbb colours (#1999)
The website colour reader parsed each channel with from_str_radix, which accepts a leading '+', so a malformed colour such as #+1+2+3 was read as rgb(1,2,3). Each channel must now be two hex digits.
2026-11-17 11:10:15 +07:00
BFlat 961078950d Merge pull request #2000 from Plastic-time/bugfix/r3.12-zip-legacy-zstd
A ZIP member using the original Zstandard method number, 20, was listed with an unknown method and could not be extracted or found in firmware scans. It now goes through the same name, bounded decoder and archive discovery as the current number, 93.
2026-11-17 11:10:12 +07:00
BFlat 67c70dfb14 Merge pull request #1998 from Plastic-time/bugfix/r3.12-sqlite-key-collations
In a WITHOUT ROWID table whose primary key names one column twice with different collations, SQLite stores a key slot for each. The reader collapsed them into one and so read the next column from the wrong slot. A repeated key term is now dropped only when its column and effective collation are already present.
2026-11-17 11:06:27 +07:00
RRFZ d433b6cdd0 Preserve Mach-O import ordinals when a library path is invalid 2026-11-16 23:05:20 -05:00
RRFZ ecb83e9350 Honor the exact HTML module script keyword (R3.12) 2026-11-16 22:49:33 -05:00
RRFZ 8b6a701b16 Keep all declared HTML meta security policies (R3.13) 2026-11-16 22:49:32 -05:00
RRFZ 0586649778 Require terminated paths in Mach-O load commands (R3.12) 2026-11-16 22:49:31 -05:00
RRFZ 29badae7c9 Read the legacy Zstandard method in ZIP archives (R3.12) 2026-11-16 22:49:29 -05:00
RRFZ da974744c0 Keep distinct primary-key collations in SQLite row layouts (R3.12) 2026-11-16 22:49:27 -05:00
BFlat 5acce07c67 Merge pull request #1994 from Plastic-time/bugfix/r3.12-android-provider-sdk-default
An Android manifest with a minimum SDK of 23 and no target SDK reported a provider as exported by default. Android takes the minimum SDK as the target when none is given, and from 17 a provider is private by default. Export inference now uses the minimum SDK when the target is omitted; explicit targets and explicit exported values are unchanged.
2026-11-17 10:44:47 +07:00
RRFZ efd252fa4c Claim R3.12: html-exact-module-keyword 2026-11-16 22:44:43 -05:00
RRFZ 556d834630 Claim R3.13: html-meta-csp-list 2026-11-16 22:44:41 -05:00
RRFZ 34b58cdb64 Claim R3.12: macho-complete-command-paths 2026-11-16 22:44:38 -05:00
RRFZ b33bdbffc4 Claim R3.12: zip-legacy-zstd 2026-11-16 22:44:35 -05:00
RRFZ 1359f7fb10 Claim R3.12: sqlite-key-collations 2026-11-16 22:44:33 -05:00
BFlat 891d07819a Merge pull request #1996 from Plastic-time/bugfix/r3.13-har-request-mime
Recording a form POST that returned JSON wrote the response's type, application/json, as the request body's type too. The request body now takes its type from the request's own Content-Type header, and is left empty when that value was not captured.
2026-11-17 10:33:39 +07:00
Dylan M. Taylor 788529edb6 Share standard Base64 encoding for plist and Go format output 2026-11-16 22:33:19 -05:00
BFlat a3fc0056d3 Merge pull request #1992 from Plastic-time/bugfix/r3.12-dynamic-import-options
On the lexer fallback, `import("./data.json", { with: { type: "json" } })` lost its dependency, because only a closing parenthesis was accepted after the path. A comma after a dynamic import's literal path is now accepted, and a method called `import` on an object is no longer taken for one.
2026-11-17 10:32:27 +07:00
BFlat dd1efd2923 Merge pull request #1995 from Plastic-time/bugfix/r3.12-android-sdk-m-permissions
A permission declared with the older `uses-permission-sdk-m` tag was left out of the manifest's permission list. Android treats that tag like `uses-permission-sdk-23`, and so does the reader now.
2026-11-17 10:30:27 +07:00
BFlat e4ba479004 Merge pull request #1991 from Plastic-time/bugfix/r3.13-html-incomplete-tags
A capture cut off inside a tag, such as one ending in `<script src=app.js`, reported a script no browser would run; cut-off link, title and meta tags could supply facts too. Page evidence now needs the tag to be closed.
2026-11-17 10:28:06 +07:00
RRFZ 5a574f623b Read typed SDK integers when inferring Android exports 2026-11-16 22:22:10 -05:00
Justin John 046ffa7ccd Read OpenCode's typed error from stdout, so its 503 is retried and its reason shown (#1990)
OpenCode prints its typed error on stdout and only "HTTP 503 Service Unavailable" on stderr, and a failed run's error kept only stderr. So the retry for a server still starting its plugins never saw the typed answer, and the person was shown the bare HTTP status (#1859). Model discovery now reads the typed line, retries on its tag, names its message in the error and keeps it in the details.
2026-11-17 10:19:20 +07:00
Dylan M. Taylor 8415823904 ci: let Dependabot maintain GitHub Actions dependencies (#1790) 2026-11-16 22:07:39 -05:00
RRFZ 7ad785b788 Keep the request content type in recorded HAR bodies (R3.13) 2026-11-16 22:07:09 -05:00
RRFZ a45c0a5677 Include legacy SDK-M permissions in Android manifest inventories (R3.12) 2026-11-16 22:07:08 -05:00
RRFZ 3cd2a2dd1c Use the minimum SDK for omitted Android target defaults (R3.12) 2026-11-16 22:07:06 -05:00
RRFZ 358b15abc6 Keep dynamic import specifiers with options in lexer fallback (R3.12) 2026-11-16 22:07:01 -05:00
RRFZ 4d132b7b0a Ignore incomplete start tags in HTML page inventories (R3.13) 2026-11-16 22:07:00 -05:00
RRFZ fd9dba04bc Claim R3.13: har-request-mime 2026-11-16 22:04:57 -05:00
RRFZ 0d336dd522 Claim R3.12: android-sdk-m-permissions 2026-11-16 22:04:55 -05:00
RRFZ 7743bbe3ef Claim R3.12: android-provider-sdk-default 2026-11-16 22:04:52 -05:00
RRFZ cb75bd6b8d Claim R3.12: dynamic-import-options 2026-11-16 22:04:49 -05:00
RRFZ 365ac7b237 Claim R3.13: html-incomplete-tags 2026-11-16 22:04:37 -05:00
Dylan M. Taylor 1e57fd9118 docs: prefer craft-libs for reusable formats, codecs, protocols and UI (#1943) 2026-11-16 21:57:34 -05:00
Dylan M. Taylor 5d9eafaee1 Use shared binary plist reader with existing limits and version policy (#1986) 2026-11-16 21:57:30 -05:00
NetterSilver 1ab4ef2a56 Reject signed values after 0x in CLI integer options (#1988)
A CLI integer option stripped the 0x prefix and parsed the rest with from_str_radix, which accepts a leading '+', so --addr 0x+10 was read as 16. The text after 0x must now be non-empty hex digits; anything else gives the existing "expects a number" error.
2026-11-17 09:30:42 +07:00
BFlat 2b36d3a97e Merge pull request #1983 from Plastic-time/bugfix/r3.12-sourcemap-block-boundaries
An unfinished `/*# sourceMappingURL=` comment overrode an earlier complete one, and a line with two `*/` could return a URL containing text outside the comment. A closing delimiter is now required and the first one ends the comment; the legacy `@` marker is accepted in a complete block as in line comments.
2026-11-17 08:35:31 +07:00
BFlat aba7ad0a1e Merge pull request #1984 from Plastic-time/bugfix/r3.12-cpio-symlink-crc
GNU cpio's crc format stores a symbolic link's target as the member body and leaves its checksum field at zero. The reader summed the target and warned that the link was damaged. A zero checksum on a symlink is now taken as omitted; a non-zero one, and every regular file's, is still checked.
2026-11-17 08:24:48 +07:00
BFlat cd4ecad585 Merge pull request #1982 from Plastic-time/bugfix/r3.12-graphql-string-line-breaks
The operation reader accepted a raw CR inside a regular quoted GraphQL string, and a raw line break after a backslash, both invalid GraphQL. Both line terminators are now checked before an escape is processed; block strings keep their multi-line grammar.
2026-11-17 08:23:59 +07:00
BFlat 105c95dcd1 Merge pull request #1981 from Plastic-time/bugfix/r3.12-tcp-ecn-flags
A TCP SYN with flag byte 0xc2 was reported as SYN only. The ECE and CWR bits are now named with the other flags; existing flag strings keep their order.
2026-11-17 08:23:52 +07:00
BFlat 3f45a9b1c3 Merge pull request #1980 from Plastic-time/bugfix/r3.13-html-bogus-comments
The HTML scanner reported a script found inside `<!unknown ...>` or a malformed end tag, text that browsers treat as a comment up to the first `>`. That text is now skipped before the next tag is looked for.
2026-11-17 08:23:45 +07:00