caro2
caro2

Reputation: 155

Squash TM - bugtracker in frame

I'm using squashTM in my work and I want to open bug bugtracker (mantis) which I defined in squash options (there is an option in squash to do that). When I'm opening it in new window everything is correct but in frame I've got an error:

Load denied by X-Frame options: <mantis_main_page_url> does not permit framing

I have this error both in Firefox and IE. What can be wrong? I looked into mantis main page source code but don't know what search and optionally change. Thanks in advance for your help.

Upvotes: 1

Views: 767

Answers (1)

Robert Munteanu
Robert Munteanu

Reputation: 68318

MatisBT by default disallows framing, and this is not configurable. You can patch your installation by commenting out the following line in core/http_api.php:

            header( 'X-Frame-Options: DENY' );

The bug tracking making this setting configurable is 12165: Allow mantis to be loaded in an iframe.

Upvotes: 2

Related Questions