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: Normalize pathnameBase when matching #8533

Merged
merged 1 commit into from Feb 27, 2022
Merged

fix: Normalize pathnameBase when matching #8533

merged 1 commit into from Feb 27, 2022

Commits on Feb 27, 2022

  1. fix: Normalize pathnameBase when matching

    Motivation:
    When matching with "*", the `pathnameBase` had a trailing slash `/`.
    
    Modifications:
     * Call normalizePathname for pathnameBase
    
    Result:
    We can use an element that call useRoutes to define another alternative router for matching with "*".
    
    Closes: #8458
    Isammoc committed Feb 27, 2022
    Copy the full SHA
    e2f8969 View commit details
    Browse the repository at this point in the history