1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-13 12:22:03 +02:00

[ticket/16526] Revert unneeded s9e/factory change

PHPBB3-16526
This commit is contained in:
rxu 2020-06-12 10:31:24 +07:00
parent 8c79e9a61e
commit 59900357a7
No known key found for this signature in database
GPG Key ID: 955F0567380E586A

View File

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