Skip to content

Commit 5a2d325

Browse files
committed
Allow X-Frame-Options: SAMEORIGIN
See: 9c22ff0#commitcomment-17990216
1 parent 4bda1d0 commit 5a2d325

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/newscorm/learnpath.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10680,8 +10680,8 @@ public function fixBlockedLinks($src)
1068010680
$headers = substr($response, 0, $httpCode['header_size']);
1068110681

1068210682
$error = false;
10683-
if (stripos($headers, 'X-Frame-Options: DENY') > -1 ||
10684-
stripos($headers, 'X-Frame-Options: SAMEORIGIN') > -1
10683+
if (stripos($headers, 'X-Frame-Options: DENY') > -1
10684+
//|| stripos($headers, 'X-Frame-Options: SAMEORIGIN') > -1
1068510685
) {
1068610686
$error = true;
1068710687
}

0 commit comments

Comments
 (0)