From: Andrew Dolgov Date: Mon, 31 Jul 2006 06:34:25 +0000 (+0100) Subject: unescape login/pass before passing them to magpie X-Git-Tag: schema_freeze_for_1.2.2~61 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ff25e63992570dd393dddb9fe5c17435ee9c2459;p=tt-rss.git unescape login/pass before passing them to magpie --- diff --git a/functions.php b/functions.php index 9cb98625..4b118f4b 100644 --- a/functions.php +++ b/functions.php @@ -254,8 +254,8 @@ $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");