Skip to content
Snippets Groups Projects
Commit 854c957b authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Fix metarefresh command line script to properly load http urls

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1035 44740490-163a-0410-bde0-09ae8108e29a
parent 3841f5f1
No related branches found
No related tags found
No related merge requests found
...@@ -122,7 +122,9 @@ if(count($files) === 0) { ...@@ -122,7 +122,9 @@ if(count($files) === 0) {
$metaloader = new sspmod_metarefresh_MetaLoader(); $metaloader = new sspmod_metarefresh_MetaLoader();
foreach($files as $f) { foreach($files as $f) {
$metaloader->loadSource($f); $source = array('src' => $f);
if (isset($validateFingerprint)) $source['validateFingerprint'] = $validateFingerprint;
$metaloader->loadSource($source);
} }
if($toStdOut) { if($toStdOut) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment