~sircmpwn/sr.ht-dev

srht.site: Explain CSP impact on target="_blank" links v1 APPLIED

Conrad Hoffmann: 1
 Explain CSP impact on target="_blank" links

 1 files changed, 3 insertions(+), 0 deletions(-)
#815034 .build.yml failed
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/34384/mbox | git am -3
Learn more about email & git

[PATCH srht.site] Explain CSP impact on target="_blank" links Export this patch

---
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 — 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: 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]: mailto:ch@bitfehler.net

✗ #815034 FAILED srht.site/patches/.build.yml https://builds.sr.ht/~sircmpwn/job/815034
Thanks!

To git@git.sr.ht:~sircmpwn/srht.site
   5777fd6..b063e3a  master -> master