rsnext/test/e2e/app-dir/metadata
Jiachi Liu 488984cc03
fix: default relative canonical url should not contain search (#63843)
### What

Strip the search query for the `urlPathname` passed down to metadata
handling.

### Why
This is because the `urlPathname` from `staticGenerationStore` contains
query, so it will contain `?rsc` query for client navigation, which lead
to the relative path canonical url (e.g. `./`) will have the search
query along with it. This PR is to remove that and make sure always uses
pathname.

Reported by @pacocoursey 

Closes NEXT-2963
2024-03-28 23:16:22 +00:00
..
app fix: default relative canonical url should not contain search (#63843) 2024-03-28 23:16:22 +00:00
pages/blog Fix: only apply metadata dynamic image routes convention for app dir (#47367) 2023-03-21 18:25:20 +00:00
metadata.test.ts fix: default relative canonical url should not contain search (#63843) 2024-03-28 23:16:22 +00:00
next.config.js Remove experimental config from create-next-app (#49241) 2023-05-05 00:22:28 -07:00