• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • Wiki links are not parsed in wiki if I I enable 'other content'

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Wiki links are not parsed in wiki if I I enable 'other content'

    • Issue Tools
      • View Changes
    1. issueid=5248 September 26, 2017 9:02 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Wiki links are not parsed in wiki if I I enable 'other content'

      In /admin.php?options/list/vw_link_settings
      if I enable 'other content' then wiki links are not parsed. No matter if I purge cache.
    Issue Details
    Issue Number 5248
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category BB-Code Parsing
    Status Working as Designed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.19
    Fixed Version (none)
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. September 26, 2017 2:08 PM
      pegasus pegasus is offline
      VaultWiki Team
      This occurred because Waindigo DataTables had custom code to use autolinks (detected as Other-type) in a way that was not supported by our existing autolink code, running multiple autolinkers simultaneously. We had not allowed this because it usually meant that an infinite loop was occurring. This was actually a bug in the DataTables add-on, as it was attempting to do something that was not allowed.

      I have made changes to our code that now allows multiple autolinkers; if an infinite loop does occur, it would be a problem with the code that calls the autolinker and not the autolinker itself.

      Additionally, the Waindigo DataTables add-on contains a security vulnerability, which should be addressed in a new release of that add-on (already fixed on your site). In library/Waindigo/DataTables/Extend/XenForo/BbCode/Formatter/Base.php, find:
      Code:
                          $rows[$rowId][$columnId] = $parser->render(htmlspecialchars_decode($column));
      Replace with:
      Code:
                          $rows[$rowId][$columnId] = $parser->render($column, array(
      			'allowHtml' => 1,
      			'inDataTable' => 1,
      			'plainChildren' => 0
      			) + $rendererStates);
      In VaultWiki, the vulnerability breaks the permissions sandbox for wiki templates (potentially by decoding HTML that should not be decoded) or the permissions for wiki content in general within TABLE, by not honoring the rendererStates of the code that contains the TABLE. The vulnerability would generate insecure output for any add-on that expects $rendererStates to contain certain values related to permissions. If DataTables insists on calling ::render recursively here (something I have discouraged to them in the past), there is no reason for DataTables not to honor parent $rendererStates. And instead of always decoding, by setting the 'allowHtml' flag to 1 (as in my replacement code above), ::render will honor the existing HTML state already processed by ::renderSubTree. Please report this issue to the add-on author.

      EDIT: My work on this issue should be complete now. I have finished cleaning up the errors in the log that were related to it.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 6:41 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.