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

\phpbb\extension\finder is finding too many routing files

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.0-b2
    • 3.1.0-b3
    • Extensions
    • None

    Description

      Our extension makes use of some symfony bundles, those bundles include some routing.yml files which are used for testing and other purposes that should not be automatically found and loaded.

      Currently the \phpbb\extension\finder is too general by scanning for all config/routing.yml files, finding all kinds of files that have no reason to be included.

      The easiest solution would be to limit the depth of the finder. /ext/vendor/extension/config/ + 1 should be sufficient.

      Another possible solution would be to exclude the vendor directory completely. Any routing files in those paths would need to be included from within the main routing.yml file.

      Attachments

        Activity

          People

            nickvergessen Joas Schilling
            rfdy rfdy [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: