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

Own BBCode gets parsed wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • 3.3.3
    • BBCode Engine
    • PHP 8.0.3, MySQL 5.6.45, Problem in all types of Browsers

      Hello,

      I´ve added a custom Twitter BBCode in our ACP like this:

      BBCode:

      [twitter]{TEXT}[/twitter]
      

      HTML:

      <a target="_blank" href="{TEXT}">Klicke hier, um zum Tweet zu gelangen.</a>
      

       

      Now a user has tried to create a post with this BBCode like this:

      [twitter]https://twitter.com/Twitter/status/1380306486962782208[/twitter]
      

      and PHPBB has changed it to:

      <a target="_blank" href="[twitter]">Klicke hier, um zum Tweet zu gelangen.</a>

      Please note: The lower security of {TEXT} is known to me, but {URL} didn't work that well for me.

            Unassigned Unassigned
            mpsdj mpsdj [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: