瀏覽代碼

Merge branch '1.10.x' of ssh://github.com/chamilo/chamilo-lms into 1.10.x

Julio Montoya 9 年之前
父節點
當前提交
4b84f43a14
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main/newscorm/learnpath.class.php

+ 1 - 1
main/newscorm/learnpath.class.php

@@ -3447,7 +3447,7 @@ class learnpath
                                     $linkProtocol = substr($file, 0, 5);
                                     $linkProtocol = substr($file, 0, 5);
                                     if ($linkProtocol === 'http:') {
                                     if ($linkProtocol === 'http:') {
                                         //this is the special intervention case
                                         //this is the special intervention case
-                                        $file = 'embed.php?type=nonhttps&source=' . $file;
+                                        $file = 'embed.php?type=nonhttps&source=' .  urlencode($file);
                                     }
                                     }
                                 }
                                 }
                             }
                             }