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
Updated by Michael Miousse about 14 years ago
Your are right, ill test your patch later and will commit if evrything is alright.
Updated by Pierre Boivin almost 14 years ago
I have combined it to the issue #10907. So 403, 404 and other errors will be checked.
Updated by Pierre Boivin almost 14 years ago
- Status changed from Needs Feedback to Resolved
Updated by Chris topher over 12 years ago
- Status changed from Resolved to Closed
Updated by Michael Stucki almost 11 years ago
- Project changed from 1510 to TYPO3 Core
- Category changed from Linkvalidator to Linkvalidator
Actions