rsnext/test
Jiachi Liu c0751e8c81
Create unique route path for og under group routes (#47985)
### What

When using dynamic metadata image rouets (such as `opengraph-image.js`)
under group routes, the generated urls were still normalized. In this
case it might have conflicts with those ones not under group routes. For
instance `app/(post)/opengraph-image.js` could have same url with
`/app/opengraph-image.js`. In reality we want them to be different
route, unlike layout or pages.

### How

So when we found `()` or `@` signs from the metadata image urls, we'll
generate a unqiue suffix (`-\d{6}`) and append to the generated url. So
they can be isolated from the ones are not under special convention
routes.

Closes NEXT-937
2023-04-05 22:40:17 +00:00
..
.stats-app Remove serverComponents from next.conf.js because it's unused (#43805) 2022-12-07 15:57:03 +01:00
__mocks__ Update Edge Runtime (#38862) 2022-07-21 18:29:19 +00:00
development Auto-restart dev server when next.config.js changes (#47912) 2023-04-05 18:17:54 +00:00
e2e Create unique route path for og under group routes (#47985) 2023-04-05 22:40:17 +00:00
examples feat(cli): introduce --tailwind flag (#46927) 2023-03-16 16:06:27 +01:00
integration Update search params/route params handling on deploy (#47930) 2023-04-05 14:14:40 -07:00
lib Update search params/route params handling on deploy (#47930) 2023-04-05 14:14:40 -07:00
production Update search params/route params handling on deploy (#47930) 2023-04-05 14:14:40 -07:00
unit (Fix)(Tests)Fix typo in unit testing (#47644) 2023-04-01 22:23:15 -07:00
.gitignore Fix server html insertion target (#42591) 2022-11-07 18:16:13 +01:00
jest-setup-after-env.ts Increase CI test timeout (#47973) 2023-04-05 10:16:48 -07:00
jest.d.ts Adds tests to ensure eslint-plugin-next's available rules are properly exported and recommended rules are correctly defined. (#38183) 2022-06-30 11:31:33 -05:00
readme.md refactor: split up CONTRIBUTING.md (#40515) 2022-09-16 14:54:58 -07:00
test-file.txt

See Testing for more information on how you can run/write/debug tests for Next.js.