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

Custom BBCode URL tokens do not support IDN

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.3-RC1
    • Component/s: BBCode Engine
    • Labels:
      None

      Description

      URL, LOCAL_URL and RELATIVE_URL tokens' regexes for the custom BBCodes don't have 'u' modifier which causes warning thrown when you try to post such custom BBCode:

      [phpBB Debug] PHP Warning: in file [ROOT]/includes/message_parser.php on line 71: preg_match(): Compilation failed: character value in /x{...} sequence is too large at offset 63

      Custom BBCodes added earlier than IDN has been applied are unaffected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nickvergessen Joas Schilling
                Reporter:
                rxu rxu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: