#4486 Make the CSP header be bytes not unicode
Merged by pingou. Opened by pingou.
byte_headers  into  master

Download 4486.patch

Header names must be byte string not unicode string, so we need
to make sure our CSP header complies with that.

Otherwise we run into:
Apache returning a 500 error:
TypeError: expected byte string object for header name,
value of type unicode found

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

I have verified that this fixes the 500 errors returned by Apache.

Pretty please pagure-ci rebuild

1 new commit added

  • Allow class on td and id and data-line-number on a

Thanks for the review! :)

Pull-Request has been merged by pingou

Metadata