]> git.wh0rd.org Git - tt-rss.git/commitdiff
backend/fbexport: read key from _POST
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 21 Apr 2011 04:46:26 +0000 (08:46 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 21 Apr 2011 04:46:26 +0000 (08:46 +0400)
backend.php

index c7f0628cb9bd4fe7bcba5109b21fb60352cd5607..58f921e6a304166321823cbc84f7110c6c41ab61 100644 (file)
 
                case "fbexport":
 
-                       // TODO: change to _POST
-                       $access_key = db_escape_string($_REQUEST["key"]);
+                       $access_key = db_escape_string($_POST["key"]);
 
                        // TODO: rate limit checking using last_connected
                        $result = db_query($link, "SELECT id FROM ttrss_linked_instances