Not a bug Double slash in links of reported content

AlexT

Well-known member
Very minor...

In XenForo_ReportHandler_Abstract->getContentForThread(),

PHP:
'link' => XenForo_Application::getOptions()->boardUrl . '/' .  $this->getContentLink($report, $contentInfo),

should be

PHP:
'link' => XenForo_Application::getOptions()->boardUrl . $this->getContentLink($report, $contentInfo),

since $this->getContentLink() already prepends its part of the URL with a splash.
 
I can't reproduce this and getContentLink definitely does not appear to begin with a slash. getContentLink uses the standard link system by default, which outputs URLs relative to the root XF directory.
 
Top Bottom