Closed spmeesseman closed 2 years ago
@spmeesseman finally looking into this, I'm reluctant to pull it in, due to the required external configuration - is that specific to this feature, or a standard part of the IFramed plugin setup ?
I'm also concerns by the recommendation to add script-src: 'unsafe-inline';
in the example provided in IFramed README - it's called unsafe for a reason... adding this leaves the user open to XSS attacks.
@spmeesseman since you never provided any feedback, I'm going to close this. Feel free to reopen if you'd like to discuss things further based on my earlier comments.
Support to open websvn links within the mantisbt ui in an iframe, if the IFramed plugin is installed.
This of course would mean adjusting Content-Security-Policy header frame-src in mantisbt config (example in IFramed readme file). And possibly, require a server config to handle some url encoding issue with the
&
when going to file details page from diff, in Apache I used:RewriteCond %{QUERY_STRING} ^repname=(.*)(&)path=(.*)(&)(.*)$
RewriteRule ^(.*)$ https://my.domain.com/websvn/filedetails.php?repname=%1&path=%3&%5 [N]