Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1730921906, "reponame":"libwebsockets", "desc":"libwebsockets lightweight C networking library", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets", "f":3, "items": [ {"schema":"libjg2-1", "cid":"f6c3dad60dfaf31b18a9070fb4abfbd2", "commit": {"type":"commit", "time": 1577649556, "time_ofs": 0, "oid_tree": { "oid": "8bb13a80f2a865b252a27b77e9f07165d813c54e", "alias": []}, "oid":{ "oid": "22a6a0073da36c1af70b8788f7751d23b1997349", "alias": []}, "msg": "safari: update default CSP to specify ws and wss schema", "sig_commit": { "git_time": { "time": 1577649556, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1577398264, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }}, "body": "safari: update default CSP to specify ws and wss schema\n\nhttps://github.com/warmcat/libwebsockets/issues/1806" , "diff": "diff --git a/lib/roles/http/header.c b/lib/roles/http/header.c\nindex adcdc9e..4929a49 100644\n--- a/lib/roles/http/header.c\n+++ b/lib/roles/http/header.c\n@@ -267,7 +267,7 @@ struct lws_protocol_vhost_options pvo_hsbph[] \u003d {{\n \t\u0026pvo_hsbph[3], NULL, \u0022content-security-policy:\u0022,\n \t\u0022default-src 'none'; img-src 'self' data: ; \u0022\n \t\t\u0022script-src 'self'; font-src 'self'; \u0022\n-\t\t\u0022style-src 'self'; connect-src 'self'; \u0022\n+\t\t\u0022style-src 'self'; connect-src 'self' ws: wss:; \u0022\n \t\t\u0022frame-ancestors 'none'; base-uri 'none';\u0022\n \t\t\u0022form-action 'self';\u0022\n }};\n","s":{"c":1730921906,"u": 1702}} ],"g": 2926,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}