unescape login/pass before passing them to magpie

This commit is contained in:
Andrew Dolgov 2006-07-31 07:34:25 +01:00
parent 19dee1dcc8
commit ff25e63992

View file

@ -254,8 +254,8 @@
$result = db_query($link, "SELECT update_interval,auth_login,auth_pass $result = db_query($link, "SELECT update_interval,auth_login,auth_pass
FROM ttrss_feeds WHERE id = '$feed'"); FROM ttrss_feeds WHERE id = '$feed'");
$auth_login = db_fetch_result($result, 0, "auth_login"); $auth_login = db_unescape_string(db_fetch_result($result, 0, "auth_login"));
$auth_pass = db_fetch_result($result, 0, "auth_pass"); $auth_pass = db_unescape_string(db_fetch_result($result, 0, "auth_pass"));
$update_interval = db_fetch_result($result, 0, "update_interval"); $update_interval = db_fetch_result($result, 0, "update_interval");