Skip to content

Bug: function to redirect()->to() remove query string #5829

Description

@hunter-and1

PHP Version

7.3

CodeIgniter4 Version

4.1.9

CodeIgniter4 Installation Method

Composer (using codeigniter4/appstarter)

Which operating systems have you tested for this bug?

Windows

Which server did you use?

apache

Database

MariaDB 10.2

What happened?

function redirect()->to() remove query builder

Steps to Reproduce

return redirect()->to('http://localhost/test?y=2022') // he return http://localhost/test

Expected Output

expected redirect to http://localhost/test?y=2022

Anything else?

i guess probem in functtion setHeader in ResponseTrait.php
No response

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

    waiting for infoIssues or pull requests that need further clarification from the author

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions