From ff25e63992570dd393dddb9fe5c17435ee9c2459 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 31 Jul 2006 07:34:25 +0100 Subject: [PATCH] unescape login/pass before passing them to magpie --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 9cb986251..4b118f4b5 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");