File tree 2 files changed +5
-7
lines changed
test/integration/prerender/test
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -592,11 +592,9 @@ export async function isPageStatic(
592
592
593
593
builtPage = builtPage . replace (
594
594
`[${ repeat ? '...' : '' } ${ validParamKey } ]` ,
595
- encodeURIComponent (
596
- repeat
597
- ? ( paramValue as string [ ] ) . join ( '/' )
598
- : ( paramValue as string )
599
- )
595
+ repeat
596
+ ? ( paramValue as string [ ] ) . map ( encodeURIComponent ) . join ( '/' )
597
+ : encodeURIComponent ( paramValue as string )
600
598
)
601
599
} )
602
600
Original file line number Diff line number Diff line change @@ -109,8 +109,8 @@ const expectedManifestRoutes = () => ({
109
109
initialRevalidateSeconds : false ,
110
110
srcRoute : null ,
111
111
} ,
112
- '/catchall/another%2Fvalue ' : {
113
- dataRoute : `/_next/data/${ buildId } /catchall/another%2Fvalue .json` ,
112
+ '/catchall/another/value ' : {
113
+ dataRoute : `/_next/data/${ buildId } /catchall/another/value .json` ,
114
114
initialRevalidateSeconds : 1 ,
115
115
srcRoute : '/catchall/[...slug]' ,
116
116
} ,
You can’t perform that action at this time.
0 commit comments