[FEATURE] Use symfony/routing for Site Resolving
Use symfony/router 4.1 for resolving a site based on the
This actually removes some simple resolving built previously
by myself, which was stupid code to detect a site base.
With the symfony/routing component, it is now possible to
have site base prefixes without a scheme (just the domain)
and allow to handle both prefixes. It is also possible to
just add "/site1" and "/site2" as base for domains as
well, allowing to listen to any incoming domain.
As this Routing component will be used for further
page-based routing, the introduced symfony-specific
code might change and encapsulated in other places.
With this patch we now require symfony 4.1 components
or higher, as symfony/routing became fast with 4.1,
and symfony/routing 4.1 is incompatible with various 3.x
components we use. Composer-based installations might
not be able to upgrade, if they have a strong
dependency on a lower symfony version.
The composer command used:
composer req symfony/console:^4.1 symfony/expression-language:^4.1 \
symfony/finder:^4.1 symfony/routing:^4.1 symfony/yaml:^4.1 \
Tested-by: TYPO3com <email@example.com>
Tested-by: Daniel Siepmann <firstname.lastname@example.org>
Reviewed-by: Christian Kuhn <email@example.com>
Tested-by: Christian Kuhn <firstname.lastname@example.org>
Reviewed-by: Oliver Hader <email@example.com>
Reviewed-by: Andreas Wolf <firstname.lastname@example.org>
Tested-by: Andreas Wolf <email@example.com>