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

Fixed quote bug with certain characters

Discussion in 'Resolved Bug Reports' started by majdi, Apr 19, 2011.

  1. majdi

    majdi Well-Known Member

  2. Alluidh

    Alluidh Well-Known Member

    Yes, this should be normal because of the ] in the Username ]{afteji
  3. Mike

    Mike XenForo Developer Staff Member

    It looks like it's escaped, but I think this might be a bug in the nested quote stripping more than anything else.
  4. Mike

    Mike XenForo Developer Staff Member

    Actually, this was a parsing bug related to the ] being the first character. Fixed now.
  5. majdi

    majdi Well-Known Member

    can you release the fix here please.
    its causing too many issues in my board.
  6. Mike

    Mike XenForo Developer Staff Member

    In library/XenForo/BbCode/Parser.php, change:
    $tagContentEndPosition = strpos($this->_text, "$tagDelim]", $tagOptionPosition);
    $tagContentEndPosition = strpos($this->_text, "$tagDelim]", $tagOptionPosition + 2);
    Vincent and majdi like this.

Share This Page