]> git.wh0rd.org Git - tt-rss.git/commitdiff
feed browser: fix escaping
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 20 Jan 2009 16:53:12 +0000 (17:53 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 20 Jan 2009 16:53:12 +0000 (17:53 +0100)
modules/pref-feed-browser.php

index 576b684a9282a690b610baa16874895b6b411566..aa6ef31147e3452df65c0b60a44acc98e55c960b 100644 (file)
                        $feedctr = 0;
        
                        while ($line = db_fetch_assoc($result)) {
-                               $feed_url = $line["feed_url"];
+                               $feed_url = db_escape_string($line["feed_url"]);
                                $subscribers = $line["subscribers"];
        
                                // mysql returns NULL records first by default