[BUGFIX] Catch RequestException in GeneralUtility::getUrl() 79/47779/7
authorChristoph Kratz <ckr@rtp.ch>
Tue, 19 Apr 2016 10:51:01 +0000 (12:51 +0200)
committerNicole Cordes <typo3@cordes.co>
Wed, 20 Apr 2016 09:27:32 +0000 (11:27 +0200)
commit5af25891f3d4109c4c0ba93296e01b8f5d196079
tree670316899083f60f58452ea09a113dcc07dd6e2e
parent511dc242caa79702f86549c70b34bc3d54b3c4e6
[BUGFIX] Catch RequestException in GeneralUtility::getUrl()

When a request in getUrl() fails (e.g. due to exceeded time limit, host
misconfiguration) Guzzle throws an exception.

This patch restores the behaviour of getUrl() before using Guzzle by
catching the exception.

Resolves: #75757
Releases: master
Change-Id: Iedc36cce48eaee85beeb7c448b546dc3a49034d0
Reviewed-on: https://review.typo3.org/47779
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/core/Classes/Utility/GeneralUtility.php