~sircmpwn/sr.ht-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH pages.sr.ht] Remove allow-orientation-lock from CSP sandbox

Details
Message ID
<20230523101205.39964-1-ch@bitfehler.net>
DKIM signature
missing
Download raw message
Patch: +0 -1
It has been deprecated and is no longer present in CSP levels 2 and 3.

See e.g. https://www.w3.org/TR/CSP2/#directive-sandbox
---
 server.go | 1 -
 1 file changed, 1 deletion(-)

diff --git a/server.go b/server.go
index 06fa345..31b9bb1 100644
--- a/server.go
+++ b/server.go
@@ -193,7 +193,6 @@ func ServeHTTP(conf ini.File, db *sql.DB, mc *minio.Client) *http.Server {
	srv.Handler = compressionHandler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		sandbox := []string{
			"allow-forms",
			"allow-orientation-lock",
			"allow-pointer-lock",
			"allow-presentation",
			"allow-same-origin",
-- 
2.40.1

[pages.sr.ht/patches] build success

builds.sr.ht <builds@sr.ht>
Details
Message ID
<CSTKTRJAWN7I.3ARHD02SU5K1E@cirno2>
In-Reply-To
<20230523101205.39964-1-ch@bitfehler.net> (view parent)
DKIM signature
missing
Download raw message
pages.sr.ht/patches: SUCCESS in 2m23s

[Remove allow-orientation-lock from CSP sandbox][0] from [Conrad Hoffmann][1]

[0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/41341
[1]: ch@bitfehler.net

✓ #994363 SUCCESS pages.sr.ht/patches/archlinux.yml https://builds.sr.ht/~sircmpwn/job/994363
✓ #994362 SUCCESS pages.sr.ht/patches/alpine.yml    https://builds.sr.ht/~sircmpwn/job/994362
Details
Message ID
<CSUAQWVHHCD9.H060S0RUE3YV@taiga>
In-Reply-To
<20230523101205.39964-1-ch@bitfehler.net> (view parent)
DKIM signature
missing
Download raw message
Thanks!

To git@git.sr.ht:~sircmpwn/pages.sr.ht
   bd296fe..3b59767  master -> master
Reply to thread Export thread (mbox)