]> git.wh0rd.org Git - tt-rss.git/commitdiff
unburn: remove ending ? from urls
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 31 Jan 2013 20:34:57 +0000 (00:34 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 31 Jan 2013 20:34:57 +0000 (00:34 +0400)
plugins/af_unburn/init.php

index e503851d9eaf3f52894a87f0ff8ce0af6e2e6302..d2bcf75d04b2eddf51c7d385885baeb2a99f48ed 100644 (file)
@@ -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;
                        }