domains-from-csp icon indicating copy to clipboard operation
domains-from-csp copied to clipboard

KeyError in get_csp_header(url)

Open zeinlol opened this issue 3 years ago • 0 comments

Line 64-65 in csp_parser.py:

elif 'content-security-policy-report-only' in r.headers: csp_header = r.headers["content-security-policy-report-only:"]

There is no key " content-security-policy-report-only: " - need to delete " : " in the end, then everything works fine

zeinlol avatar Jun 14 '21 13:06 zeinlol