Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-2319

bbcode legality validation and explanation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.0
    • 3.0.x
    • ACP
    • None
    • PHP Environment:
      Database:

      when defining a bbcode, there is a very limited number of tokens which are recognized.
      however, the instructions are not clear, and worse, you can create a bbcode with any token you want, eg:

      align={ALIGNMENT}]{TEXT}[/align]

      and it will be accepted by the system. however, this bbcode will not do the expected.

      the explanation says:

      The input will be validated only if it matches the corresponding definition.

      however, the reality is that the input will be used only if it matches one of the tokens from the list.
      in addition, the explanation regarding the

      {L_XXX}

      tokens is unclear. it should be noted that these tokens are usable ONLY in the "html replacement" part.

      REQUIRED ACTIONS:
      1) tighten the validation: if the "BBCode usage" part contains illegal token, do not validate
      2) make the explanations clearer regarding which tokens can be used where.

            Acyd Burn Meik Sievertsen [X] (Inactive)
            arod-1 arod-1 [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: