{"push_id":1040943049,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"22e589870f3e4aba691737d29c21f419f2872237","before":"24a2a860f6dc62ebf835675aa61486225c683a4c","commits":[{"sha":"22e589870f3e4aba691737d29c21f419f2872237","author":{"email":"8cfa770a891389a5d7a0bb98a0a6016cec4d40ff@typo3.org","name":"Benni Mack"},"message":"[TASK] Use file_get_contents instead of getUrl()\n\nThe method GeneralUtility::getUrl() is used a lot in the\ncore where only local files are allowed.\n\nMost occurrences can be replaced by using the native\nfile_get_contents() PHP function.\n\nfile_get_contents() is now always used when\n\n* is_file() is called\n* only local paths (e.g. prefixed with PATH_site)\n* absolute paths (GeneralUtility::getFileAbsFileName)\n* ensured that files within extensions\n\nare checked before. In these cases getUrl() MUST NOT BE\nUSED but built-in file_get_contents() must be used instead.\n\nResolves: #75178\nReleases: master\nChange-Id: Ia88879d8fa44fd88e604b3332c1a710c33e5d3ec\nReviewed-on: https://review.typo3.org/47309\nReviewed-by: Philipp Gampe <philipp.gampe@typo3.org>\nReviewed-by: Andreas Fernandez <typo3@scripting-base.de>\nTested-by: Andreas Fernandez <typo3@scripting-base.de>\nReviewed-by: Christian Kuhn <lolli@schwarzbu.ch>\nReviewed-by: Daniel Gorges <daniel.gorges@b13.de>\nTested-by: Daniel Gorges <daniel.gorges@b13.de>\nReviewed-by: Benni Mack <benni@typo3.org>\nTested-by: Benni Mack <benni@typo3.org>","distinct":true,"url":"https://api.github.com/repos/TYPO3-CMS/linkvalidator/commits/22e589870f3e4aba691737d29c21f419f2872237"}]}