SAK-23841PortletIFrame.popupXFrame() method generates high database CPU load
This patch addresses a number of issues relating to when to and
not to do a popup.
- Change the default timeout to 6 hours.
- If a web site sends us an x-frame-options header - auto-tick the popup so there is no further checking (assume sites don't go backwards)
- Suppress checking if the prefix of the url matches the server url or the access url
- Add a new property iframe.xframe.popup=regex where if the regex matches the URL, the content is always done in a popup and the x-frame-options check is never done
- Add a new property iframe.xframe.inline=regex where if the regex matches, the content is always inlined and the x-frame-options check is never done
- Force popup if the server is https and the content is not https
- Change the Home variant of the tool to display the site title or site description inline without an iframe.
git-svn-id:
https://source.sakaiproject.org/svn/web/trunk@128908 66ffb92e-73f9-0310-93c1-f5514f145a0a