Hijack pear.php.net from http to force https, refs #5071
parent
7c62e2b534
commit
cb971fcb0e
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue