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

Not proper handled comma-separated ACP configuration values

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.0, 3.2.10-RC2
    • Fix Version/s: 3.3.2-RC1
    • Component/s: ACP
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            Marc Marc
            Reporter:
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: