aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/feed
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-03-08 11:49:05 +0100
committerGravatar GitHub <noreply@github.com> 2025-03-08 11:49:05 +0100
commitd80171ebfdddad2b3b873400caf633d160e2fb12 (patch)
treed0cec495c90ae53f634fe6452bf806bd02292e2d /app/views/helpers/feed
parentfdc564dd9e85a2f3fbf6087611fd6c7f42fc2ea8 (diff)
Back-compatibility cURL 7.51 (#7409)
* Back-compatibility cURL 7.51 fix https://github.com/FreshRSS/FreshRSS/issues/7381 And add cURL version to system info. Do not require a specific version of cURL for now, but maybe later. * Fix CI * make fix-all * Add TODOs * Add ssl_version * Update app/i18n/it/index.php Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com> --------- Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com>
Diffstat (limited to 'app/views/helpers/feed')
-rw-r--r--app/views/helpers/feed/update.phtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml
index 54d3e77a0..41d879843 100644
--- a/app/views/helpers/feed/update.phtml
+++ b/app/views/helpers/feed/update.phtml
@@ -749,6 +749,7 @@
<label class="group-name" for="proxy_type"><?= _t('sub.feed.proxy') ?></label>
<div class="group-controls">
<select name="proxy_type" id="proxy_type"><?php
+ defined('CURLPROXY_HTTPS') or define('CURLPROXY_HTTPS', 2); // Compatibility cURL 7.51
$type = $curlParams[CURLOPT_PROXYTYPE] ?? '';
if ($type === 3) { // Legacy for NONE
$type = -1;