summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-13 18:58:09 +0400
committerAndrew Dolgov <[email protected]>2013-04-13 18:58:09 +0400
commit41694a956d4cbe4da633a967c06908b69e942c17 (patch)
tree06c571762c01b2b18a97e4fb311f1b22cff0829c /include
parent5276b7c768332800f6a39658d99b103f81b1598d (diff)
fix double-escaping possible with encrypted passwords
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 73ed97d08..1b6b3e820 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -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