From: Andrew Dolgov Date: Sat, 16 Mar 2013 11:10:29 +0000 (+0400) Subject: include hashed SELF_URL_PATH when checking for new version X-Git-Tag: 1.7.5~164 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f60646622a421513cb5d5ac5f0807b31c4ba45c0;p=tt-rss.git include hashed SELF_URL_PATH when checking for new version --- diff --git a/include/functions.php b/include/functions.php index 3927a5b6..4e16c9f1 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2614,7 +2614,8 @@ function check_for_update($link) { if (CHECK_FOR_NEW_VERSION && $_SESSION['access_level'] >= 10) { - $version_url = "http://tt-rss.org/version.php?ver=" . VERSION; + $version_url = "http://tt-rss.org/version.php?ver=" . VERSION . + "&iid=" . sha1(SELF_URL_PATH); $version_data = @fetch_file_contents($version_url);