mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:15:55 +00:00
another take on feed: stripping
This commit is contained in:
@@ -1942,7 +1942,7 @@
|
||||
$feed_link = trim(preg_replace("/^feed:/", "", $feed_link));
|
||||
|
||||
# check for feed://URL
|
||||
if (strstr($feed_link, "//") == 0) {
|
||||
if (strpos($feed_link, "//") === 0) {
|
||||
$feed_link = "http:$feed_link";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user