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

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

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: BBCode Engine
    • Labels:
      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

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

              Dates

              • Created:
                Updated: