Project

General

Profile

Actions

Feature #27669

closed

Proxy Exceptions for Curl

Added by Jonas Renggli almost 13 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2011-07-10
Due date:
2011-07-10
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Almost every software which allows connections to different domains allows the configuration of proxies. And exceptions for them.
Thus not every connection uses the proxy configured.

TYPO3 allows to configure a proxy used by Curl. But when activated every connection will use this proxy. Especially in complex server environments this limits possible settings. An admin has to decide to either allow connections to the outer world (Extension Updates, Translation Handling) or other servers in the local network.

Best would be to allow the configuration of Exceptions for Curl in localconf.php. e.g.

$TYPO3_CONF_VARS['SYS']['curlProxyExceptions'] = '*.localdomain,*.local';
and adjust the method getURL() in class.t3lib_div.php to use the proxy only when there is no exception for the current domain.

Thereby every extension that uses this method can benefit from this feature and doesn't have to implement the whole "download-files-from-the-right-location-and-sometimes-with-proxy" stuff.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Feature #31818: Implement curl proxy blacklist in t3lib_div::getUrlClosedTolleiv Nietsch2011-11-15

Actions
Actions #1

Updated by Mathias Schreiber over 9 years ago

  • Target version set to 7.4 (Backend)
Actions #2

Updated by Mathias Schreiber over 9 years ago

  • Status changed from New to Closed

duplicated by #31818 (using that one because of attached patch)

Actions

Also available in: Atom PDF