Skip to content

Branch redirection drops query args #79

Description

@sirreal

We currently use bots to provide the live links like this:

https://calypso.live/?branch=update/tiled-gallery-margins

It's often handy to provide links directly to a set up for testing, which may include path and additional query arguments. When the branch query is rewritten to the hash url, other query args are dropped. For example:

https://calypso.live/block-editor/post?branch=add/tiled-grid-package&flags=jetpack/blocks/beta

Winds up at (notice no flags arg):

https://hash-46d13ec811227b549777d82deb8a02736299c4ac.calypso.live/block-editor/post

Maintain unrecognized query args when redirecting.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions