In this situation, equiv_csp_header ends up being a blank string and causes a CSP parsing error because the string is too short.
I plan on fixing the http-equiv for my site, but the observatory code should probably check if equiv_csp_header is a blank line before attempting to parse it.
My site is currently returning the following CSP headers:
However, the framework used to generate my site adds the following
meta
tag to the HTML header:In this situation,
equiv_csp_header
ends up being a blank string and causes a CSP parsing error because the string is too short.I plan on fixing the
http-equiv
for my site, but the observatory code should probably check ifequiv_csp_header
is a blank line before attempting to parse it.