1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-20 22:21:29 +00:00

fix double-escaping possible with encrypted passwords

This commit is contained in:
Andrew Dolgov
2013-04-13 18:58:09 +04:00
parent 5276b7c768
commit 41694a956d
3 changed files with 9 additions and 3 deletions

View File

@@ -1622,6 +1622,8 @@
$auth_pass_encrypted = 'false';
}
$auth_pass = db_escape_string($this->link, $auth_pass);
if (db_num_rows($result) == 0) {
$result = db_query($link,
"INSERT INTO ttrss_feeds