Version 4.6.0
This commit is contained in:
1 parent
f79dcf067a
commit
517a5e1f70
2036 files changed
+110041
-26162
No files matched your search
@@ -33,8 +33,8 @@ class _HtmlPurifierHttpsImages extends \HTMLPurifier_URIFilter
|
||||
|
||||
public function filter( &$uri, $config, $context )
|
||||
{
|
||||
/* We only care about embedded resources for this */
|
||||
if ( !$context->get( 'EmbeddedURI', true ) )
|
||||
/* We only care about embedded resources for this, skip src attr so our own parser can handle that. */
|
||||
if ( !$context->get( 'EmbeddedURI', true ) OR $context->get( 'CurrentAttr', true ) == 'src' )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user