From fb59c879326eb441a69d8e4a73cf6947be158fe6 Mon Sep 17 00:00:00 2001 From: Eduardo M KALINOWSKI Date: Fri, 25 Dec 2015 09:59:51 -0200 Subject: [PATCH] Fetch only the headers in order to get the real article URL. --- plugins/af_unburn/init.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/af_unburn/init.php b/plugins/af_unburn/init.php index 263997db..72f8a260 100755 --- a/plugins/af_unburn/init.php +++ b/plugins/af_unburn/init.php @@ -30,6 +30,7 @@ class Af_Unburn extends Plugin { curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); + curl_setopt($ch, CURLOPT_NOBODY, true); curl_setopt($ch, CURLOPT_USERAGENT, SELF_USER_AGENT); if (defined('_CURL_HTTP_PROXY')) { -- 2.39.2