]> git.wh0rd.org Git - tt-rss.git/commitdiff
unescape login/pass before passing them to magpie
authorAndrew Dolgov <fox@madoka.spb.ru>
Mon, 31 Jul 2006 06:34:25 +0000 (07:34 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Mon, 31 Jul 2006 06:34:25 +0000 (07:34 +0100)
functions.php

index 9cb98625161ea3606f58a2d51f38d57daf9e248f..4b118f4b597598169e631f5f26178c0ae8915179 100644 (file)
                $result = db_query($link, "SELECT update_interval,auth_login,auth_pass  
                        FROM ttrss_feeds WHERE id = '$feed'");
 
-               $auth_login = db_fetch_result($result, 0, "auth_login");
-               $auth_pass = db_fetch_result($result, 0, "auth_pass");
+               $auth_login = db_unescape_string(db_fetch_result($result, 0, "auth_login"));
+               $auth_pass = db_unescape_string(db_fetch_result($result, 0, "auth_pass"));
 
                $update_interval = db_fetch_result($result, 0, "update_interval");