Set CURLOPT_FOLLOWLOCATION to correctly handle redirects in metadata.php
Merge remote-tracking branch 'origin/master'