Skip to content

Shopify removes duplicate query parameters in embedded apps #2243

Open
@ryanolf

Description

@ryanolf

Issue summary

Embedded admin apps receive a bunch of extra query parameters from shopify that don't appear in the URL bar. It seems that in manipulating the query parameters passed into the embedded app, duplicate parameters are removed, even though they are generally well supported by the URLSearchParams Web API and are one way to represent lists of values.

After initial load I can add duplicate parameters and they work as expected, but they are not maintained upon a true (non-remix) navigation.

Expected behavior

Duplicate query parameters passed in the browser URL should be maintained and accessible in the app.

Actual behavior

Only one of a the duplicate parameter values is kept.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions