Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix multilang redirects and routes #3004

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Sep 12, 2020

  1. Fix multilang redirects and routes

    Multilang redirects and routes were not working due to language prefixes
    being included in URL when trying to match source URL and redirect/route
    source pattern.
    
    Using `$route` parameter fixes the issue as given route does not include
    language prefixes (coming from `$uri->path()` in `PagesServiceProvider`).
    
    Fixes getgrav#2435.
    nbusseneau committed Sep 12, 2020
    Configuration menu
    Copy the full SHA
    8c1f5a7 View commit details
    Browse the repository at this point in the history