rsnext/packages/next/next-server/lib/router/utils
JJ Kasper 8a1c9937b6
Make sure to break rewrites chain when dynamic route matches (#16455)
This makes sure to also check if a dynamic route matched after resolving a rewrite on the client to match behavior on the server. It also adds tests for this behavior to ensure it is working properly. 

Fixes: https://github.com/vercel/next.js/issues/16454
2020-08-22 05:15:45 +00:00
..
escape-path-delimiters.ts Relax encoding on dynamic prerendered routes (#14717) 2020-07-13 14:42:27 +00:00
format-url.ts Remove querystring from the client (#15378) 2020-08-06 12:32:58 -04:00
get-asset-path-from-route.ts Fix prerendered nested index handling (#14383) 2020-06-23 05:49:48 +00:00
get-route-from-asset-path.ts Fix prerendered nested index handling (#14383) 2020-06-23 05:49:48 +00:00
index.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
is-dynamic.ts Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
parse-relative-url.ts Allow absolute urls in router and Link (#15792) 2020-08-05 18:12:17 +00:00
path-match.ts Fix un-transpiled client file with rewrites (#16453) 2020-08-21 19:11:25 +00:00
prepare-destination.ts Update rewrite params query appending (#16189) 2020-08-14 18:51:58 +00:00
querystring.ts Remove querystring from the client (#15378) 2020-08-06 12:32:58 -04:00
resolve-rewrites.ts Make sure to break rewrites chain when dynamic route matches (#16455) 2020-08-22 05:15:45 +00:00
route-matcher.ts Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
route-regex.ts Make dynamic routes case-sensitive (#15444) 2020-07-25 05:11:42 +00:00
sorted-routes.ts Update routeKeys to handle non-word characters (#12801) 2020-06-16 13:49:13 +00:00