Skip to content
  • Benni Mack's avatar
    [FEATURE] Use symfony/routing for Site Resolving · a557d88d
    Benni Mack authored and Andreas Wolf's avatar Andreas Wolf committed
    Use symfony/router 4.1 for resolving a site based on the
    current request.
    
    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 \
        --update-with-dependencies
    
    Resolves: #85719
    Resolves: #85165
    Releases: master
    Change-Id: If21ff3581552ca98af28739a76236a160508f16d
    Reviewed-on: https://review.typo3.org/57851
    
    
    Tested-by: default avatarTYPO3com <no-reply@typo3.com>
    Tested-by: default avatarDaniel Siepmann <daniel.siepmann@typo3.org>
    Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
    Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
    Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
    Reviewed-by: default avatarAndreas Wolf <andreas.wolf@typo3.org>
    Tested-by: default avatarAndreas Wolf <andreas.wolf@typo3.org>
    a557d88d
Analyzing file…