Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

Commit

Permalink
Remove nonsensical header in external (#2193)
Browse files Browse the repository at this point in the history
X-Frames-Option & Co need to be set by the embeddee, not the embedder
  • Loading branch information
danimo committed Aug 22, 2016
1 parent 606e55f commit f4235c6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions external/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
OCP\App::setActiveNavigationEntry('external_index' . $id);

$tmpl = new OCP\Template('external', 'frame', 'user');
//overwrite x-frame-options
header('X-Frame-Options: ALLOW-FROM *');

$tmpl->assign('url', $url);
$tmpl->printPage();
Expand Down

0 comments on commit f4235c6

Please sign in to comment.