Skip to content

redirect()-> problem #1346

Description

@demortx

if you simply write like this, then there will not be a redirect, it will exactly transmit the status 200 in the head of it

redirect()->to('http://you.com/',302);

But if forcibly set through exit (302)

redirect()->to('http://you.com/',302);
exit(302);
Works

Please note that the redirect inside the site is working properly!
redirect()->to('/panel',302, 'refresh');

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions