Project

General

Profile

Actions

Feature #75456

closed

add no_proxy configuration option

Added by Sybille Peters over 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2016-04-08
Due date:
% Done:

0%

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

Description

TYPO3 has configuration options for proxy:

$GLOBALS['TYPO3_CONF_VARS']['HTTP']['proxy_host']
$GLOBALS['TYPO3_CONF_VARS']['HTTP']['proxy_port']

etc.

However a no_proxy option is missing, as described for example here: https://wiki.archlinux.org/index.php/proxy_settings

TYPO3 uses the PHP HTTP_Request2 package which also does not use this parameter.

However I think it could be implemented in TYPO3 as an option such as

$GLOBALS['TYPO3_CONF_VARS']['HTTP']['no_proxy'] 

and used in typo3/sysext/core/Classes/Http/HttpRequest.php to set the proxy-options to empty if the url contains one of the domains set in no_proxy.

The code of TYPO3 6.2 and 8.0 looks pretty much the same here, so it shouldn't be a problem to implement for all versions.

Actions

Also available in: Atom PDF