• 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
    • Vault Wiki breaks quoting quotation marks

    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: Vault Wiki breaks quoting quotation marks

    • Issue Tools
      • View Changes
    1. issueid=6371 March 30, 2023 4:38 PM
      Vilandra Vilandra is offline
      New Member
      Vault Wiki breaks quoting quotation marks
      When quoting a post that has quotation marks in XF 2.2.12 with Vault Wiki 4.1.6 enabled, the quotation marks are omitted from the quote.

      This is a weird one. When I have VW 4.1.6 enabled, and I try to quote a post that has quotation marks in it in XF 2.2.12, the quotation marks are then omitted from the quote in the reply box. Disabling VW returns correct functionality.
    Issue Details
    Issue Number 6371
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Forum Posts / Non-Wiki Content
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.1.6
    Fixed Version 4.1.7
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags xenforo




    1. April 1, 2023 2:34 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. Quotation marks are not supposed to be transferred if the source or target content is wiki content, because there is a little-known attack vector under certain wiki setting combinations, but there is no current reason why they cannot be copied from regular posts into other regular posts.

      In src/addons/vw/vw/XF/ControllerPlugin/Quote.php, find:
      Code:
      $arrayContent['containerid'] = $arrayContent['areaid'];
      AFTER it, add:
      Code:
      $wasWiki = true;
      Find:
      Code:
      if (!empty($arrayContent['containerid']))
      Replace with:
      Code:
      if (!empty($wasWiki))
      However, whenever forum posts regain the VW3 ability to be wikified, then this change would be an attack vector, and another method of protecting the target content should be used, such as wrapping XF/Pub/Controller/Post::actionQuote when a custom URL parameter is present.
      Reply Reply  
    2. April 1, 2023 10:58 AM
      Vilandra Vilandra is offline
      New Member
      Fixed - thank you very much!
      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 4:52 AM.
    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.