NiklasMencke/nextjs-breadcrumbs

Query string with values URL-like are being added in the breadcrumbs

travis-south opened this issue · 1 comments

NextJS: next@11.1.2
Nextjs Breadcrumbs: nextjs-breadcrumbs@1.1.9

I noticed that whenever you have a query string parameter with a value of a full url, it is also parsed and added by nextjs breadcrumbs. See example below

http://localhost:3000/reset-password?reset_url=https://fake.myshopify.com/account/reset/xxxxxx/yyyyyyy

Will be shown as Home / Reset password / Fake myshopify com / Account / Reset / Xxxxx / Yyyyyyy

Is there still no support for routes with query params?