Re-allow framing of images in docs
authorMagnus Hagander <magnus@hagander.net>
Wed, 15 Sep 2021 20:08:12 +0000 (22:08 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 15 Sep 2021 20:10:33 +0000 (22:10 +0200)
commit653a457c99b7d049663ea06e92d91b6761e1dc8b
tree0325d0436cedeae195a7b7925d1824b9de10643a
parent48bb7f5022856147173ecff7a687c96cdec9e25f
Re-allow framing of images in docs

Commit fff74828 disallowed the loading of docs in frames, but apparently
svg images count as framing, so re-allow those.

We could limit it to specific URLs, but it's just images so it's good to
be able to load them from different places.

Discussion: https://postgr.es/m/CAH2-WzkpfQROHTx_F3RM6AUbxquxHy4QWXfVkNPWm3s9AFmtkg@mail.gmail.com
pgweb/docs/views.py