rsnext/packages/next/client
JJ Kasper 4ab41efdbf
Add handling for repeated slashes (#27738)
This adds handling for repeated forward/back slashes in Next.js, when these slashes are detected in a request to Next.js we will automatically remove the additional slashes redirecting with a 308 status code which prevents duplicate content when being crawled by search engines. 

Fixes: https://github.com/vercel/next.js/issues/13011
Fixes: https://github.com/vercel/next.js/issues/23772
Closes: https://github.com/vercel/next.js/pull/15171
Closes: https://github.com/vercel/next.js/pull/25745
2021-08-03 15:06:26 +00:00
..
dev Use SWC to compile Next.js core server files (#27167) 2021-07-14 18:12:04 +00:00
portal Use SWC to compile Next.js core server files (#27167) 2021-07-14 18:12:04 +00:00
head-manager.ts Font optimization bug fix (#24968) 2021-05-12 13:39:26 +02:00
image.tsx Add naturalWidth/naturalHeight to onLoadingComplete() callback (#27695) 2021-08-02 23:14:38 +00:00
index.tsx Add handling for repeated slashes (#27738) 2021-08-03 15:06:26 +00:00
link.tsx Use SWC to compile Next.js core server files (#27167) 2021-07-14 18:12:04 +00:00
next-dev.js Use SWC to compile Next.js core server files (#27167) 2021-07-14 18:12:04 +00:00
next.js Use SWC to compile Next.js core server files (#27167) 2021-07-14 18:12:04 +00:00
normalize-trailing-slash.ts fix basepath trailing slash (#15200) 2020-07-15 23:53:31 +00:00
page-loader.ts Use SWC to compile Next.js core server files (#27167) 2021-07-14 18:12:04 +00:00
performance-relayer.ts Fall back to fallbackSend when send is false (#27113) 2021-07-12 15:26:48 +00:00
polyfills.js polyfills 2020-03-30 16:26:25 -04:00
request-idle-callback.ts Use SWC for Next.js core client files (#27196) 2021-07-28 15:10:51 +00:00
route-announcer.tsx Use SWC to compile Next.js core server files (#27167) 2021-07-14 18:12:04 +00:00
route-loader.ts Wait for getFilesForRoute promise to fulfill before timeout in dev mode (#27395) 2021-07-23 15:56:14 -05:00
router.ts Use SWC for Next.js core client files (#27196) 2021-07-28 15:10:51 +00:00
script.tsx Fix inline scripts being duplicated when used with next/script component (#27218) 2021-07-16 18:58:34 +00:00
use-intersection.tsx fix(link): cancel idle callback on unmount (#22072) 2021-02-11 13:51:41 -05:00
with-router.tsx Move code shared between server/client to "shared" folder (#26734) 2021-06-30 11:43:31 +02:00