|
27 | 27 | :report_only => false, |
28 | 28 | :report_uri => ["/dashboard/csp_report"], |
29 | 29 |
|
30 | | - :default_src => ["'self'"], |
31 | | - :connect_src => ["'self'"], |
32 | | - :font_src => ["'self'", 'https://fonts.gstatic.com', "https://fonts.googleapis.com"], |
33 | | - :frame_src => ["'self'"], |
34 | | - :img_src => ["'self'", "data:"], |
35 | | - :object_src => ["'self'"], |
36 | | - :script_src => ["'unsafe-eval'", "'unsafe-inline'", "'self'"], |
37 | | - :style_src => ["'unsafe-inline'", "'self'", "https://fonts.googleapis.com", "https://fonts.gstatic.com"] |
| 30 | + :base_uri => ["'self'"], |
| 31 | + :default_src => ["'self'"], |
| 32 | + :child_src => ["'self'"], |
| 33 | + :connect_src => ["'self'"], |
| 34 | + :font_src => ["'self'", 'https://fonts.gstatic.com', "https://fonts.googleapis.com"], |
| 35 | + :form_action => ["'self'"], |
| 36 | + :frame_ancestors => ["'self'"], |
| 37 | + :frame_src => ["'self'"], |
| 38 | + :img_src => ["'self'", "data:"], |
| 39 | + :object_src => ["'self'"], |
| 40 | + :script_src => ["'unsafe-eval'", "'unsafe-inline'", "'self'"], |
| 41 | + :style_src => ["'unsafe-inline'", "'self'", "https://fonts.googleapis.com", "https://fonts.gstatic.com"], |
| 42 | + :worker_src => ["'self'"] |
38 | 43 | } |
39 | 44 | end |
40 | 45 | end |
0 commit comments