WICG / attribution-reporting-api

Attribution Reporting API
https://wicg.github.io/attribution-reporting-api/
Other
370 stars 173 forks source link

Header validator inconsistent with spec re size checks #1321

Closed apasel422 closed 4 months ago

apasel422 commented 5 months ago

Per https://wicg.github.io/attribution-reporting-api/#parse-attribution-destinations, the size of the destination field is supposed to be checked after URL-to-site transformation and deduplication, but the validator checks the size of the JSON list itself, causing some registrations that would be allowed by the spec to be prohibited by the validator.

This also applies to filter_data values.