Skip to content

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

Description

@travis-south

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions