RemoteImageFetcher.php
Table of Contents
Classes
- RemoteImageFetcher
- Downloads remote logos without server-side request forgery: only http and https, only hosts whose every resolved address (IPv4 and IPv6) is publicly routable, the connection pinned to the checked address (no second DNS lookup) and every redirect checked again.