Project

General

Profile

Feature #75456

Updated by Sybille Peters over 6 years ago

TYPO3 has configuration options for proxy: 

 <pre><code class="php"> 
 $GLOBALS['TYPO3_CONF_VARS']['HTTP']['proxy_host'] 
 $GLOBALS['TYPO3_CONF_VARS']['HTTP']['proxy_port'] 
 </code></pre> 

 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  

 <pre><code class="php"> 
 $GLOBALS['TYPO3_CONF_VARS']['HTTP']['no_proxy']  

 </code></pre> 

 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.

Back