From 1e6463fde939a8c18cc7f301b831b21ff673d1e4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 1 Feb 2013 00:34:57 +0400 Subject: [PATCH] unburn: remove ending ? from urls --- plugins/af_unburn/init.php | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.5