Changeset 8316
- Timestamp:
- 02/22/2019 01:44:18 AM (6 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/jetpack-tweaks/css-sanitization.php
r5819 r8316 133 133 */ 134 134 function sanitize_urls_in_css_properties( $url, $property ) { 135 $allowed_properties = array( 'background', 'background-image', 'border-image', ' content', 'cursor', 'list-style', 'list-style-image' );135 $allowed_properties = array( 'background', 'background-image', 'border-image', 'border-image-source', 'content', 'cursor', 'list-style', 'list-style-image' ); 136 136 $allowed_protocols = array( 'http', 'https' ); 137 137 // todo maybe add permenant warning note that `data` shouldn't be allowed, see #1616:comment:4 -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-remote-css/tests/sanitized.css
r4600 r8316 81 81 content: "\f198"; 82 82 } 83 84 /* See https://wordpress.slack.com/archives/C08M59V3P/p1550687410005500 */ 85 .roundcorners { 86 border-image-source: url('https://2019.philadelphia.wordcamp.org/files/2019/02/corners.gif'); 87 } -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-remote-css/tests/unsanitized.css
r4598 r8316 105 105 content: "\f198"; 106 106 } 107 108 /* See https://wordpress.slack.com/archives/C08M59V3P/p1550687410005500 */ 109 .roundcorners { 110 border-image-source: url(https://2019.philadelphia.wordcamp.org/files/2019/02/corners.gif); 111 }
Note: See TracChangeset
for help on using the changeset viewer.