Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-15231

BBCode parser doesn't properly check for closing ']'

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 3.2.0
    • None
    • BBCode Engine
    • None

    Description

      It appears the BBCode parsing engine only pattern matches to the start of a BBCode and doesn't check for the closing square bracket, resulting in false matches and incorrect output.

      For example, posting the follow

      So, [I tell people to drill down into that index]. What are you buying? Look behind the curtain. Your largest investment is Britain. Your second-largest investment is Japan. Your third-largest investment is France.


      In the resultant output, the quoted text inside the square brackets,
      [I tell people to drill down into that index]
      goes missing and all remain text is italicized.

      Attachments

        Activity

          People

            Unassigned Unassigned
            P_I P_I
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: