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

Not proper handled comma-separated ACP configuration values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3.2-RC1
    • 3.3.0, 3.2.10-RC2
    • ACP
    • None

      Not properly handled comma-separated value in ACP can cause fatal errors. For example, if Allowed schemes in links setting is empty * or contains * non-comma separators and/or trailing characters, it causes fatal error like:

      Fatal error: Uncaught InvalidArgumentException: Invalid scheme name '' in [ROOT]/vendor/s9e/text-formatter/src/Configurator.php:8443

      or

      Fatal error: Uncaught InvalidArgumentException: Invalid scheme name '' in [ROOT]/vendor/s9e/text-formatter/src/Configurator/Collections/SchemeList.php:38

       

      Example support topics:

      https://www.phpbb.com/community/viewtopic.php?p=15011511

      https://www.phpbb.com/community/viewtopic.php?p=14957461#p14957461

      https://www.phpbb.com/community/viewtopic.php?p=15321631#p15321631

      and some more.

            Marc Marc
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: