- Timestamp:
- 06/28/19 13:00:12 (6 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/dcCKEditor/inc/dc.ckeditor.behaviors.php
r3977 r3988 93 93 return self::$tagsContext; 94 94 } 95 96 public static function adminPageHTTPHeaderCSP($csp) 97 { 98 return; 99 // add 'unsafe-inline' for CSS, add 'unsafe-eval' for scripts as far as CKEditor 4.x is used 100 $csp['style-src'] .= " 'unsafe-inline'"; 101 $csp['script-src'] .= " 'unsafe-inline' 'unsafe-eval'"; 102 } 95 103 }
Note: See TracChangeset
for help on using the changeset viewer.