Skip to content

bug: redirect plugin redirects all the time when https #1934

@ACanOfGas

Description

@ACanOfGas

Issue description

redirect plugin redirects all the time when https

Environment

  • apisix version (cmd: apisix version): 1.4
  • OS:centos8

Minimal test code / Steps to reproduce the issue

1.api config redirects plugins
2.Triggers an http access and redirect to https
3.Subsequent https accesses are still being redirected

What's the actual result? (including assertion message & call stack if applicable)

Subsequent https accesses are still being redirected

What's the expected result?

https normal access

rediretc plugin modify conf.uri and conf.ret_code, result in Subsequent access conf.uri and conf.ret_code always not nil

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions