From: Andrew Dolgov Date: Thu, 31 Jan 2013 20:34:57 +0000 (+0400) Subject: unburn: remove ending ? from urls X-Git-Tag: 1.7.0~21 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1e6463fde939a8c18cc7f301b831b21ff673d1e4;p=tt-rss.git unburn: remove ending ? from urls --- diff --git a/plugins/af_unburn/init.php b/plugins/af_unburn/init.php index e503851d..d2bcf75d 100644 --- a/plugins/af_unburn/init.php +++ b/plugins/af_unburn/init.php @@ -60,6 +60,8 @@ class Af_Unburn extends Plugin { } } + $real_url = preg_replace("/\?$/", "", $real_url); + $article["guid"] = "unburn,$owner_uid:" . $article["guid"]; $article["link"] = $real_url; }