These are chat archives for cherrypy/cherrypy

12th
Jan 2019
scratchifoo
@scratchifoo
Jan 12 04:21
Hello. I was going through CherryPy documentation to configure my application, the security headers portion has a mistake in it. This line: headers['Content-Security-Policy'] = "default-src='self'" ... I got a warning in console saying it's invalid.
This syntax worked for me: headers['Content-Security-Policy'] = "default-src 'self';"
the rest was OK. might want to update the doc so it doesn't trip others out :)
Sviatoslav Sydorenko
@webknjaz
Jan 12 12:34
feel free to create an issue/PR on tracker
any document describing this standard?