1. 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

Discussion in 'Resolved Bug Reports' started by AlexT, Oct 16, 2014.

  1. AlexT

    AlexT Well-Known Member

    Very minor...

    In XenForo_ReportHandler_Abstract->getContentForThread(),

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

    'link' => XenForo_Application::getOptions()->boardUrl $this->getContentLink($report$contentInfo),
    since $this->getContentLink() already prepends its part of the URL with a splash.
  2. Mike

    Mike XenForo Developer Staff Member

    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.
  3. AlexT

    AlexT Well-Known Member

    Thanks Mike. Mea culpa. :whistle:

Share This Page