Skip to content

redirect() doesn't take into account forwardQueryString argument #127

Description

@UdeshyaDhungana

Package version

9.1.0

Describe the bug

When forwardQueryString is enabled globally, the redirect() method forwards the query parameters even when redirect is called with forwardQueryString set to false.

The reproduction repo contains the test that will fail in the above-mentioned scenario. This repo was created to match the specification of PERFECT ISSUE listed under Reporting Bugs.

Please let me know if a full reproduction is needed.

Reproduction repo

https://github.com/adonisjs/http-server/pull/126/changes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions