mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:15:56 +00:00
geturl: if head request is denied because host is still living in 20th century, try requesting body (thanks to incompetent admins of arxiv.org)
This commit is contained in:
@@ -360,7 +360,7 @@
|
||||
|
||||
$fetch_curl_used = true;
|
||||
|
||||
if (ini_get("safe_mode") || ini_get("open_basedir")) {
|
||||
if (ini_get("safe_mode") || ini_get("open_basedir") || defined("FORCE_GETURL")) {
|
||||
$new_url = geturl($url);
|
||||
if (!$new_url) {
|
||||
// geturl has already populated $fetch_last_error
|
||||
|
||||
Reference in New Issue
Block a user