TYPO3 Logo
TYPO3 Core Changelog
Options
Give feedback View source How to edit Edit on GitHub Full documentation (single file)

TYPO3 Core Changelog

  • ChangeLog v14
    • 14.0 Changes
    • 14.x Changes by type
  • ChangeLog v13
    • 13.4.x Changes
    • 13.4 Changes
    • 13.3 Changes
    • 13.2 Changes
    • 13.1 Changes
    • 13.0 Changes
    • 13.x Changes by type
  • ChangeLog v12
    • 12.4.x Changes
    • 12.4 Changes
    • 12.3 Changes
    • 12.2 Changes
    • 12.1 Changes
    • 12.0 Changes
    • 12.x Changes by type
  • ChangeLog v11
    • 11.5.x Changes
    • 11.5 Changes
    • 11.4 Changes
    • 11.3 Changes
    • 11.2 Changes
    • 11.1 Changes
    • 11.0 Changes
    • 11.x Changes by type
  • ChangeLog v10
    • 10.4.x Changes
    • 10.4 Changes
    • 10.3 Changes
    • 10.2 Changes
    • 10.1 Changes
    • 10.0 Changes
    • 10.x Changes by type
  • ChangeLog v9
    • 9.5.x Changes
    • 9.5 Changes
    • 9.4 Changes
    • 9.3 Changes
    • 9.2 Changes
    • 9.1 Changes
    • 9.0 Changes
    • 9.x Changes by type
  • ChangeLog v8
    • 8.7.x Changes
    • 8.7 Changes
    • 8.6 Changes
    • 8.5 Changes
    • 8.4 Changes
    • 8.3 Changes
    • 8.2 Changes
    • 8.1 Changes
    • 8.0 Changes
    • 8.x Changes by type
  • ChangeLog v7
    • 7.6.x Changes
    • 7.6 Changes
    • 7.5 Changes
    • 7.4 Changes
    • 7.3 Changes
    • 7.2 Changes
    • 7.1 Changes
    • 7.0 Changes
    • 7.x Changes by type
  • Documenting Changes
  • Sitemap
  1. TYPO3 Core Changelog
  2. ChangeLog v8
  3. 8.1 Changes
  4. Breaking: #70056 - Http-related options and HttpRequest class removed
Give feedback Edit on GitHub

Breaking: #70056 - Http-related options and HttpRequest class removed

See forge#70056

Description

The following PHP classes have been removed:

  • \TYPO3\CMS\Core\Http\HttpRequest
  • \TYPO3\CMS\Core\Http\Observer\Download

The following configuration options have been removed:

  • $GLOBALS[TYPO3_CONF_VARS][SYS][curlUse]
  • $GLOBALS[TYPO3_CONF_VARS][SYS][curlProxyNTLM]
  • $GLOBALS[TYPO3_CONF_VARS][SYS][curlProxyServer]
  • $GLOBALS[TYPO3_CONF_VARS][SYS][curlProxyTunnel]
  • $GLOBALS[TYPO3_CONF_VARS][SYS][curlProxyUserPass]
  • $GLOBALS[TYPO3_CONF_VARS][SYS][curlTimeout]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][adapter]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][protocol_version]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][follow_redirects]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][max_redirects]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][strict_redirects]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][proxy_host]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][proxy_port]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][proxy_user]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][proxy_password]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][proxy_auth_scheme]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][ssl_verify_peer]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][ssl_verify_host]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][ssl_cafile]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][ssl_capath]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][ssl_local_cert]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][ssl_passphrase]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][userAgent]

The following properties have been renamed:

  • $GLOBALS[TYPO3_CONF_VARS][HTTP][userAgent] is now called $GLOBALS[TYPO3_CONF_VARS][HTTP][headers][User-Agent]
  • $GLOBALS[TYPO3_CONF_VARS][HTTP][protocol_version] is now called $GLOBALS[TYPO3_CONF_VARS][HTTP][version]
  • All proxy-related options are unified within $GLOBALS[TYPO3_CONF_VARS][HTTP][proxy]
  • All redirect-related options (HTTP/follow_redirects, HTTP/max_redirects, HTTP/strict_redirects) are unified within $GLOBALS[TYPO3_CONF_VARS][HTTP][allow_redirects]
  • All options related to SSL private keys (HTTP/ssl_local_cert, HTTP/ssl_passphrase) are merged into $GLOBALS[TYPO3_CONF_VARS][HTTP][ssl_key]
  • All options related to verify SSL peers are merged into $GLOBALS[TYPO3_CONF_VARS][HTTP][verify]

Additionally, the dependency to the PEAR Package "Http_Request2" (composer package name pear/http_request2) has been removed in favor of the PHP library Guzzle.

Impact

Calling the mentioned classes above will result in a fatal PHP error.

Using the options in custom PHP code will result in unexpected behavior as the options are non-existent and empty.

Using PHP code that depends on the removed PEAR library "Http_Request2" will result in unexpected behaviour and possibly a fatal PHP error.

Affected Installations

All 3rd party extensions calling the mentioned classes directly or using the configuration options directly, as well as installations depending on the PEAR library "Http_Request2".

Migration

For PHP code previously using the HttpRequest and Download classes a new object-oriented PSR-7-based approach is introduced, see the Guzzle Feature integration documentation for more details. A new PHP class TYPO3\CMS\Core\Http\RequestFactory which generates PSR-7 compliant request objects helps in simplifying the migration process.

All still necessary options will be migrated to new options within $GLOBALS[TYPO3_CONF_VARS][HTTP] when the install tool is run.

In special cases, the options $GLOBALS[TYPO3_CONF_VARS][HTTP][ssl_verify_host], $GLOBALS[TYPO3_CONF_VARS][HTTP][proxy_auth_scheme] and $GLOBALS[TYPO3_CONF_VARS][HTTP][proxy_host] need to migrated manually to the newly available options.

  • Previous
  • Next
Reference to the headline

Copy and freely share the link

This link target has no permanent anchor assigned. You can make a pull request on GitHub to suggest an anchor. The link below can be used, but is prone to change if the page gets moved.

Copy this link into your TYPO3 manual.

  • Home
  • Contact
  • Issues
  • Repository

Last rendered: May 07, 2025 12:11

© since 1997 by the TYPO3 contributors
  • Legal Notice
  • Privacy Policy