From: Andrew Dolgov Date: Wed, 26 Feb 2014 05:02:42 +0000 (+0400) Subject: opml import: remove unneeded 250 character restriction on feed urls X-Git-Tag: 1.12~39 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6bb051285e919d04a1078309ed4918696d2ab63b;p=tt-rss.git opml import: remove unneeded 250 character restriction on feed urls --- diff --git a/classes/opml.php b/classes/opml.php index 0a64272a..c8c59e8a 100644 --- a/classes/opml.php +++ b/classes/opml.php @@ -257,8 +257,8 @@ class Opml extends Handler_Protected { $feed_title = $this->dbh->escape_string(mb_substr($attrs->getNamedItem('text')->nodeValue, 0, 250)); if (!$feed_title) $feed_title = $this->dbh->escape_string(mb_substr($attrs->getNamedItem('title')->nodeValue, 0, 250)); - $feed_url = $this->dbh->escape_string(mb_substr($attrs->getNamedItem('xmlUrl')->nodeValue, 0, 250)); - if (!$feed_url) $feed_url = $this->dbh->escape_string(mb_substr($attrs->getNamedItem('xmlURL')->nodeValue, 0, 250)); + $feed_url = $this->dbh->escape_string($attrs->getNamedItem('xmlUrl')->nodeValue); + if (!$feed_url) $feed_url = $this->dbh->escape_string($attrs->getNamedItem('xmlURL')->nodeValue); $site_url = $this->dbh->escape_string(mb_substr($attrs->getNamedItem('htmlUrl')->nodeValue, 0, 250));