From f60646622a421513cb5d5ac5f0807b31c4ba45c0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 16 Mar 2013 15:10:29 +0400 Subject: [PATCH] include hashed SELF_URL_PATH when checking for new version --- include/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);