Should fix issue #704

submitter please verify and close
This commit is contained in:
Habeas Codice 2014-11-19 21:10:19 -08:00
parent 6413395a76
commit 92d0a9404f

View File

@ -3,7 +3,7 @@
function sslify_init(&$a) {
$x = z_fetch_url($_REQUEST['url']);
if($x['success']) {
$h = explode("\n",$x['headers']);
$h = explode("\n",$x['header']);
foreach ($h as $l) {
list($k,$v) = array_map("trim", explode(":", trim($l), 2));
$hdrs[$k] = $v;