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/12/27 10:03:17 UTC
[GitHub] [apisix] jeesk opened a new issue #3136: bug: why does host proxy_write not support such as ip+port
jeesk opened a new issue #3136:
URL: https://github.com/apache/apisix/issues/3136
### Issue description
when I set host of proxy_wiite, tell me Invalid plugin data
does not match the regex pattern ^[0-9a-zA-Z-.]+$.
### Environment
* apisix version (cmd: `apisix version`):
* OS: (cmd: `uname -a`)
* OpenResty / Nginx version: (cmd: `nginx -V` or `openresty -V`)
### Minimal test code / Steps to reproduce the issue
1.
2.
3.
### What's the actual result? (including assertion message & call stack if applicable)
### What's the expected result?
----------------------------------------------------------------
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] [apisix] jeesk commented on issue #3136: bug: why does host proxy_write not support such as ip+port
Posted by GitBox <gi...@apache.org>.
jeesk commented on issue #3136:
URL: https://github.com/apache/apisix/issues/3136#issuecomment-756746722
> Are you talking about the `proxy_rewrite` plugin? See if the format of the `host` you set is incorrect, the `host` you set needs to meet the prompt the regex pattern ^[0-9a-zA-Z-.]+$.
> For example: `192.168.12.34`.
yes
----------------------------------------------------------------
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] [apisix] idbeta edited a comment on issue #3136: bug: why does host proxy_write not support such as ip+port
Posted by GitBox <gi...@apache.org>.
idbeta edited a comment on issue #3136:
URL: https://github.com/apache/apisix/issues/3136#issuecomment-751473281
Now the `host` cannot contain `:`, but the document did not explain it, I think is a good feat. @spacewander
----------------------------------------------------------------
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] [apisix] Firstsawyou edited a comment on issue #3136: bug: why does host proxy_write not support such as ip+port
Posted by GitBox <gi...@apache.org>.
Firstsawyou edited a comment on issue #3136:
URL: https://github.com/apache/apisix/issues/3136#issuecomment-751455645
Are you talking about the `proxy_rewrite` plugin? See if the format of the `host` you set is incorrect, the `host` you set needs to meet the prompt the regex pattern ^[0-9a-zA-Z-.]+$.
For example: `192.168.12.34`.
----------------------------------------------------------------
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] [apisix] idbeta commented on issue #3136: bug: why does host proxy_write not support such as ip+port
Posted by GitBox <gi...@apache.org>.
idbeta commented on issue #3136:
URL: https://github.com/apache/apisix/issues/3136#issuecomment-751473281
Now the `host` cannot contain port, but the document do not explain it, I think is a bug. @spacewander
----------------------------------------------------------------
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] [apisix] idbeta edited a comment on issue #3136: bug: why does host proxy_write not support such as ip+port
Posted by GitBox <gi...@apache.org>.
idbeta edited a comment on issue #3136:
URL: https://github.com/apache/apisix/issues/3136#issuecomment-751473281
Now the `host` cannot contain `:`, but the document do not explain it, I think is a good feat. @spacewander
----------------------------------------------------------------
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] [apisix] idbeta edited a comment on issue #3136: bug: why does host proxy_write not support such as ip+port
Posted by GitBox <gi...@apache.org>.
idbeta edited a comment on issue #3136:
URL: https://github.com/apache/apisix/issues/3136#issuecomment-751473281
Now the `host` cannot contain port, but the document do not explain it, I think is a good feat. @spacewander
----------------------------------------------------------------
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] [apisix] spacewander closed issue #3136: bug: why does host proxy_write not support such as ip+port
Posted by GitBox <gi...@apache.org>.
spacewander closed issue #3136:
URL: https://github.com/apache/apisix/issues/3136
----------------------------------------------------------------
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] [apisix] membphis commented on issue #3136: bug: why does host proxy_write not support such as ip+port
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #3136:
URL: https://github.com/apache/apisix/issues/3136#issuecomment-757908842
we should support this case. @jeesk would you like to submit a PR about 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] [apisix] jeesk commented on issue #3136: bug: why does host proxy_write not support such as ip+port
Posted by GitBox <gi...@apache.org>.
jeesk commented on issue #3136:
URL: https://github.com/apache/apisix/issues/3136#issuecomment-756746722
> Are you talking about the `proxy_rewrite` plugin? See if the format of the `host` you set is incorrect, the `host` you set needs to meet the prompt the regex pattern ^[0-9a-zA-Z-.]+$.
> For example: `192.168.12.34`.
yes
----------------------------------------------------------------
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] [apisix] Firstsawyou commented on issue #3136: bug: why does host proxy_write not support such as ip+port
Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #3136:
URL: https://github.com/apache/apisix/issues/3136#issuecomment-751455645
Are you talking about the `proxy_rewrite` plugin? See if the format of the `host` you set is incorrect, the `host` you set needs to meet the prompt regularity.
For example: `192.168.12.34`.
----------------------------------------------------------------
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] [apisix] membphis commented on issue #3136: bug: why does host proxy_write not support such as ip+port
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #3136:
URL: https://github.com/apache/apisix/issues/3136#issuecomment-752089320
ping @jeesk
----------------------------------------------------------------
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