~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 srht.site] Explain CSP impact on target="_blank" links

Details
Message ID
<20220802133116.312661-1-ch@bitfehler.net>
DKIM signature
pass
Download raw message
Patch: +3 -0
---
Making this just a bit more explicit will likely help people spend less
time debugging this or even deciding upfront that pages.sr.ht is not the
right service for them.

 content/limitations.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/content/limitations.md b/content/limitations.md
index b247c81..860fe08 100644
--- a/content/limitations.md
+++ b/content/limitations.md
@@ -20,6 +20,9 @@ Content-Security-Policy:
The main consequence of this is that all resources must be served from
your domain &mdash; you cannot use a CDN or embed third-party content.

It also disallows forcing links to open in new tabs (`target="_blank"`), as
this is equivalent to opening a pop-up in the browser security model.

The published tarball is limited to 1 GiB in size, after decompression. Any
entries other than regular files are ignored (such as symlinks).

-- 
2.37.1

[srht.site/patches/.build.yml] build failed

builds.sr.ht <builds@sr.ht>
Details
Message ID
<CLVKWH5YT19P.Y3R6MZ59AEFP@cirno>
In-Reply-To
<20220802133116.312661-1-ch@bitfehler.net> (view parent)
DKIM signature
missing
Download raw message
srht.site/patches/.build.yml: FAILED in 18s

[Explain CSP impact on target="_blank" links][0] from [Conrad Hoffmann][1]

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

✗ #815034 FAILED srht.site/patches/.build.yml https://builds.sr.ht/~sircmpwn/job/815034
Details
Message ID
<CM6NDINATQGQ.2VS130LMSPJJI@taiga>
In-Reply-To
<20220802133116.312661-1-ch@bitfehler.net> (view parent)
DKIM signature
pass
Download raw message
Thanks!

To git@git.sr.ht:~sircmpwn/srht.site
   5777fd6..b063e3a  master -> master
Reply to thread Export thread (mbox)