diff options
author | Andrew Dolgov <[email protected]> | 2014-02-26 09:02:42 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-02-26 09:02:42 +0400 |
commit | 6bb051285e919d04a1078309ed4918696d2ab63b (patch) | |
tree | 369dd0c3ab973abc568be4e169dd10b72938ba10 | |
parent | 051a07b0ada2612ae23a6deeeb50f4bc1ccfe69a (diff) |
opml import: remove unneeded 250 character restriction on feed urls
-rw-r--r-- | classes/opml.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/opml.php b/classes/opml.php index 0a64272a3..c8c59e8a2 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)); |