1
0
Fork 0

Hijack pear.php.net from http to force https, refs #5071

pull/5095/head
Jordi Boggiano 2016-03-17 11:24:22 +00:00
parent 7c62e2b534
commit cb971fcb0e
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ abstract class BaseChannelReader
throw new \UnexpectedValueException('The PEAR channel at ' . $url . ' did not respond.');
}
return $content;
return str_replace('http://pear.php.net/rest/', 'https://pear.php.net/rest/', $content);
}
/**