Actions
Bug #10589
closedHTTP errors might not be detected
Start date:
2010-11-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In case the request itself went fine but returned an HTTP 404 (or anything > 400) the result array comming back from t3lib_div::getURL() doesn't indicate that error with $report["error"] = 0, therefore the http_code itself needs to be checked too...
The attached patch fixes it.
How to test: Create a link pointing to http://typo3.com/Pagedoesntexists.123456789.html (will cause 404) or http://typo3.org/Pagedoesntexists.123456789.html (will cause 503).
Files
Actions