Browse Source

Allow data URL in CSP config for images

Jordi Boggiano 5 năm trước cách đây
mục cha
commit
9592e60270
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/config/config_prod.yml

+ 1 - 0
app/config/config_prod.yml

@@ -95,6 +95,7 @@ nelmio_security:
             img-src:
                 - 'self'
                 - 'https:'
+                - 'data:'
                 - 'http://www.google-analytics.com/'
             style-src:
                 - 'self'