diff options
author | 2023-07-30 23:26:59 +0200 | |
---|---|---|
committer | 2023-07-30 23:26:59 +0200 | |
commit | 93eecdf79f83e9c9d19671b0e65e14d6287b4da4 (patch) | |
tree | 8b48748eceead54a145fb4623f1ff5af4e48e485 /lib/Configuration.php | |
parent | 3a57fc800bfb399ee708794c31255566700369da (diff) | |
download | rss-bridge-93eecdf79f83e9c9d19671b0e65e14d6287b4da4.tar.gz rss-bridge-93eecdf79f83e9c9d19671b0e65e14d6287b4da4.tar.zst rss-bridge-93eecdf79f83e9c9d19671b0e65e14d6287b4da4.zip |
[core] fix new bridge PRs not generating html preview artifacts (#3583)
* [core] replace everything except bridge name to get a valid whitelist.txt
* [core] do not use hard code repository name to improve working with forks
* [core] trim bridge names from whitelist.txt to reduce chance of failure
Diffstat (limited to 'lib/Configuration.php')
-rw-r--r-- | lib/Configuration.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Configuration.php b/lib/Configuration.php index 57a7db7e..f5615009 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -113,7 +113,7 @@ final class Configuration if ($enabledBridges === '*') { self::setConfig('system', 'enabled_bridges', ['*']); } else { - self::setConfig('system', 'enabled_bridges', array_filter(explode("\n", $enabledBridges))); + self::setConfig('system', 'enabled_bridges', array_filter(array_map('trim', explode("\n", $enabledBridges)))); } } |