• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not a bug Double slash in links of reported content

AlexT

Well-known member
#1
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.
 

Mike

XenForo developer
Staff member
#2
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.