Could you confirm the exact reproduction steps, browser and OS version?
If you open the following file on your server:
library/XenForo/ViewRenderer/Abstract.php
Do you see the following:
Code:$this->_response->setHeader('X-XSS-Protection', '1');
public function __construct(XenForo_Dependencies_Abstract $dependencies, Zend_Controller_Response_Http $response, Zend_Controller_Request_Http $request)
{
$this->_dependencies = $dependencies;
$this->_response = $response;
$this->_request = $request;
if (!XenForo_Application::isRegistered('config') || XenForo_Application::getConfig()->enableClickjackingProtection)
{
$this->_response->setHeader('X-Frame-Options', 'SAMEORIGIN');
}
$this->_response->setHeader('X-XSS-Protection', '1');
$this->_preloadContainerData();
}
Could you confirm the exact reproduction steps, browser and OS version?
If you open the following file on your server:
library/XenForo/ViewRenderer/Abstract.php
Do you see the following:
Code:$this->_response->setHeader('X-XSS-Protection', '1');
I get this in Chrome on Windows. It only happens with the RTE enabled. If you switch to bbcode editor, you can then choose More Options and it loads into the new page.I use Chrome Version 58.0.3029.110 (64-bit) on a Macbook.
It happens with this topic: http://mainecoon.nl/forum/threads/johnny-delusional-black-smoke-white-kater.87920/
If I try to Edit > More Options, the error appears.
I tried some other random topics and the error does not appear.
This worksI get this in Chrome on Windows. It only happens with the RTE enabled. If you switch to bbcode editor, you can then choose More Options and it loads into the new page.
It may happen when CloudFlare is between the server and the client.As a follow up, someone did send me an example and looking at one of the examples here, it looks like the same issue.
It appears that some people are explicitly sending custom X-XSS-Protection headers which are overriding what XF is sending and thus undoing the workaround. These headers are being added outside of XF, so there isn't anything we can do to control them. You would need to adjust how they are added.
$this->_response->setHeader('X-XSS-Protection', '1');
also that option... or need to upgrade to XF 1.5.14![]()
We use essential cookies to make this site work, and optional cookies to enhance your experience.