Skip to content

Commit 34012b7

Browse files
committed
HTTPS content filter support for source HTML tag.
1 parent 7a1bc5b commit 34012b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

force/filters.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public function content($content) {
4949
'#<(a)[\s|\t][^>]*href=[\'"]\K(http://|//)[^\'"]+#i', // anchor elements
5050
'#<(link)[\s|\t][^>]*href=[\'"]\K(http://|//)[^\'"]+#i', // link elements
5151
'#<(script)[\s|\t][^>]*?src=[\'"]\K(http://|//)[^\'"]+#i', // script elements
52+
'#<(source)[\s|\t][^>]*?src=[\'"]\K(http://|//)[^\'"]+#i', // source elements
5253
'#(url)\([\'"]?\K(http://|//)[^)]+#i', // inline CSS e.g. background images
5354
];
5455

0 commit comments

Comments
 (0)