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

Custom BBCode URL tokens do not support IDN

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.3-RC1
    • 3.1.2
    • BBCode Engine
    • None

      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.

            nickvergessen Joas Schilling
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: