You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/07/30 07:33:24 UTC
[GitHub] [incubator-apisix] ACanOfGas opened a new issue #1934: bug: redirect plugin redirects all the time when https
ACanOfGas opened a new issue #1934:
URL: https://github.com/apache/incubator-apisix/issues/1934
### 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
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-apisix] membphis commented on issue #1934: bug: redirect plugin redirects all the time when https
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1934:
URL: https://github.com/apache/incubator-apisix/issues/1934#issuecomment-666413012
please show us the how did you set the `redirect` plugin, we need to confirm.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-apisix] membphis closed issue #1934: bug: redirect plugin redirects all the time when https
Posted by GitBox <gi...@apache.org>.
membphis closed issue #1934:
URL: https://github.com/apache/incubator-apisix/issues/1934
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-apisix] membphis commented on issue #1934: bug: redirect plugin redirects all the time when https
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1934:
URL: https://github.com/apache/incubator-apisix/issues/1934#issuecomment-666890363
What is the way to enable this feature?
![image](https://user-images.githubusercontent.com/6814606/88996212-44351d80-d31f-11ea-8f23-6c710d22c9b1.png)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-apisix] membphis commented on issue #1934: bug: redirect plugin redirects all the time when https
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1934:
URL: https://github.com/apache/incubator-apisix/issues/1934#issuecomment-666900785
this should be a bug, will fix it as soon as possible.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-apisix] ACanOfGas commented on issue #1934: bug: redirect plugin redirects all the time when https
Posted by GitBox <gi...@apache.org>.
ACanOfGas commented on issue #1934:
URL: https://github.com/apache/incubator-apisix/issues/1934#issuecomment-666889278
{
"redirect":{
"http_to_https":true,
"ret_code" : 302
}
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-apisix] membphis commented on issue #1934: bug: redirect plugin redirects all the time when https
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1934:
URL: https://github.com/apache/incubator-apisix/issues/1934#issuecomment-667092308
@ACanOfGas please make a try with the master branch, we have fixed this issue.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-apisix] ACanOfGas commented on issue #1934: bug: redirect plugin redirects all the time when https
Posted by GitBox <gi...@apache.org>.
ACanOfGas commented on issue #1934:
URL: https://github.com/apache/incubator-apisix/issues/1934#issuecomment-666889374
> please show us the how did you set the `redirect` plugin, we need to confirm.
{
"redirect":{
"http_to_https":true,
"ret_code" : 302
}
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org