Skip to content

Commit c94f7cf

Browse files
committed
Learnpath: Fix issue in comparing document path with code path in document source validation before iframe - refs BT#13822
1 parent c7327e9 commit c94f7cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/lp/learnpath.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11877,7 +11877,7 @@ public function fixBlockedLinks($src)
1187711877
}
1187811878

1187911879
if ($protocolFixApplied == false) {
11880-
if (strpos(api_get_path(WEB_CODE_PATH), $host) === false) {
11880+
if (strpos(api_get_path(WEB_PATH), $host) === false) {
1188111881
// Check X-Frame-Options
1188211882
$ch = curl_init();
1188311883

0 commit comments

Comments
 (0)