Skip to content

Commit

Permalink
Reintroduce possibility to use data uri for images
Browse files Browse the repository at this point in the history
Fixes issue #3862
  • Loading branch information
evilaliv3 committed Dec 11, 2023
1 parent c94494c commit a214b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/globaleaks/handlers/staticfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get(self, filename):
b"form-action 'none';"
b"frame-ancestors 'none';"
b"frame-src 'self';"
b"img-src 'self';"
b"img-src 'self'; data:"
b"media-src 'self';"
b"script-src 'self' 'sha256-l4srTx31TC+tE2K4jVVCnC9XfHivkiSs/v+DPWccDDM=';"
b"style-src 'self' 'sha256-pru43GdcNLwb4MwzOriCI9/9cKBzE5xeoLWHlKai1As=';")
Expand Down

0 comments on commit a214b28

Please sign in to comment.