Skip to content

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 09 Nov 23:02
· 3 commits to main since this release
  • Fix: CSP reports from Chrome were mostly refused. Chrome bundles every
    report from about the last minute into one request, and 0.3.0 kept only the
    first ten reports of a request and refused the rest. Repeats are now folded
    together first, so forty reports of the same blocked image are one row with
    a count of forty, and the limit applies to ten different sources per
    request rather than ten reports.
  • Fix: a request can now be up to 256 KB, up from 16 KB. Every report repeats
    the whole policy, so with a real policy 16 KB held only about a dozen
    reports and a bigger bundle was refused whole. At most 200 reports are read
    from one request; any beyond that are refused and counted.
  • Change: the status line now says why reports were refused, largest count
    first, for example "8 refused: 6 over the per-request limits, 1 from
    another site, 1 too large". Refusals counted by 0.3.0 show their reasons
    too.

Full Changelog: v0.3.0...v0.3.1