File tree Expand file tree Collapse file tree
libraries/kunena/External/Nbbc/src
site/template/aurelia/assets/js Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ jQuery(document).ready(function ($) {
2626 } ,
2727 'Liveleak' : {
2828 'match' : / l i v e l e a k \. c o m \/ (?: v i e w \? [ 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' : / m e t a c a f e \. c o m \/ w a t c h \/ ( [ ^ \/ ] + ) / ,
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' : {
You can’t perform that action at this time.
0 commit comments