4ab41efdbf
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 |
||
---|---|---|
.. | ||
dev | ||
portal | ||
head-manager.ts | ||
image.tsx | ||
index.tsx | ||
link.tsx | ||
next-dev.js | ||
next.js | ||
normalize-trailing-slash.ts | ||
page-loader.ts | ||
performance-relayer.ts | ||
polyfills.js | ||
request-idle-callback.ts | ||
route-announcer.tsx | ||
route-loader.ts | ||
router.ts | ||
script.tsx | ||
use-intersection.tsx | ||
with-router.tsx |