Skip to content

Commit ec76f7c

Browse files
committed
[K7.0] Use https links in some place instead of http (#10124)
1 parent 9d617ac commit ec76f7c

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/libraries/kunena/External/Nbbc/src/BBCode.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,8 @@ protected function autoDetectURLs($string) {
11671167
if (empty($urlParts['url'])) {
11681168
$url = $part;
11691169
if (empty($urlParts['scheme'])) {
1170-
$url = 'http://'.$part;
1170+
// Kunena change : use https instead of http
1171+
$url = 'https://'.$part;
11711172
}
11721173
$urlParts['url'] = $url;
11731174
}

src/site/template/aurelia/assets/js/sceditor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jQuery(document).ready(function ($) {
2626
},
2727
'Liveleak': {
2828
'match': /liveleak\.com\/(?:view\?[a-z]=)([^\/]+)/,
29-
'url': 'http://www.liveleak.com/ll_embed?i=',
29+
'url': 'https://www.liveleak.com/ll_embed?i=',
3030
'html': '<iframe width="500" height="300" src="{url}" frameborder="0" data-kunena-vt="{type}" data-kunena-vsrc="{src}"></iframe>'
3131
},
3232
'MetaCafe': {
3333
'match': /metacafe\.com\/watch\/([^\/]+)/,
34-
'url': 'http://www.metacafe.com/embed/',
34+
'url': 'https://www.metacafe.com/embed/',
3535
'html': '<iframe src="{url}" width="440" height="248" frameborder=0 data-kunena-vt="{type}" data-kunena-vsrc="{src}"></iframe>'
3636
},
3737
'Mixer': {

0 commit comments

Comments
 (0)