You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some browsers log a console warning when they detect a Content-Security-Policy-Report-Only header that does not include a report-uri or report-to directive. Currently, the rate-limiting middleware removes these directives when the percentage threshold is reached, leading to this warning.
Proposed Changes
For the enforced CSP header:
Retain the current behavior: remove the report-uri or report-to directives only when the percentage threshold is reached.
For the report-only CSP header:
Modify the behavior to completely remove the header when the percentage threshold is reached to avoid unnecessary browser warnings.
The text was updated successfully, but these errors were encountered:
Description
Some browsers log a console warning when they detect a
Content-Security-Policy-Report-Only
header that does not include areport-uri
orreport-to
directive. Currently, the rate-limiting middleware removes these directives when the percentage threshold is reached, leading to this warning.Proposed Changes
For the enforced CSP header:
report-uri
orreport-to
directives only when the percentage threshold is reached.For the report-only CSP header:
The text was updated successfully, but these errors were encountered: