aboutsummaryrefslogtreecommitdiff
path: root/lib/simplepie
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-09-21 15:41:14 +0200
committerGravatar GitHub <noreply@github.com> 2024-09-21 15:41:14 +0200
commit7b2e87fd33e6c1ddc052c88c5f95ba9672e5e74b (patch)
tree3306273c2edb47617ed57cb8792d0a57ea354f10 /lib/simplepie
parente9398f3f8cb703ec68422509ff50c97beae83c4d (diff)
Remove HTTP Referer (#6822)
* Remove HTTP Referer https://github.com/FreshRSS/simplepie/pull/27 https://github.com/FreshRSS/FreshRSS/pull/6523 fix https://github.com/FreshRSS/FreshRSS/issues/6811 https://github.com/simplepie/simplepie/issues/224 * Bump SimplePie commit
Diffstat (limited to 'lib/simplepie')
-rw-r--r--lib/simplepie/simplepie/src/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/simplepie/simplepie/src/File.php b/lib/simplepie/simplepie/src/File.php
index 2a6177f6b..b56fac342 100644
--- a/lib/simplepie/simplepie/src/File.php
+++ b/lib/simplepie/simplepie/src/File.php
@@ -124,7 +124,7 @@ class File implements Response
curl_setopt($fp, CURLOPT_FAILONERROR, 1);
curl_setopt($fp, CURLOPT_TIMEOUT, $timeout);
curl_setopt($fp, CURLOPT_CONNECTTIMEOUT, $timeout);
- curl_setopt($fp, CURLOPT_REFERER, \SimplePie\Misc::url_remove_credentials($url));
+ // curl_setopt($fp, CURLOPT_REFERER, \SimplePie\Misc::url_remove_credentials($url)); // FreshRSS removed
curl_setopt($fp, CURLOPT_USERAGENT, $useragent);
curl_setopt($fp, CURLOPT_HTTPHEADER, $headers2);
foreach ($curl_options as $curl_param => $curl_value) {