Merge branch '3.2.x' into 3.3.x

This commit is contained in:
Marc Alexander 2020-04-21 21:36:11 +02:00
commit 502982154d
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -218,7 +218,7 @@ class factory implements \phpbb\textformatter\cache_interface
{
$configurator->urlConfig->disallowScheme($scheme);
}
foreach (explode(',', $this->config['allowed_schemes_links']) as $scheme)
foreach (array_filter(explode(',', $this->config['allowed_schemes_links'])) as $scheme)
{
$configurator->urlConfig->allowScheme(trim($scheme));
}