Skip to content
Snippets Groups Projects
Commit 43bcd6b6 authored by Dorian Merz's avatar Dorian Merz Committed by André Lahmann
Browse files

refs #18302 [finc] allow for https in link rewriting

parent 06988f4c
No related merge requests found
...@@ -361,7 +361,7 @@ class Record extends \VuFind\View\Helper\Root\Record ...@@ -361,7 +361,7 @@ class Record extends \VuFind\View\Helper\Root\Record
); );
// add http if needed // add http if needed
// @to-do make it https compatible // @to-do make it https compatible
if (!preg_match('/^(http:\/\/)/', $link['url'])) { if (!preg_match('/^(https?:\/\/)/', $link['url'])) {
$link['url'] = 'http://' . $link['url']; $link['url'] = 'http://' . $link['url'];
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment