-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Host matching cannot carry ports #2064
Comments
cc @Revolyssup |
@DokiDoki1103 Thanks for catching this. The regex that APISIX accepts for this field doesn't match with the one accepted by ingress controller. I will create a fix for this. https://github.com/apache/apisix/blob/a2da5f156c433b373ba670ce9eecdfdcb4cf7268/apisix/schema_def.lua#L40C23-L40C51 |
@Revolyssup You're welcome, I'm using Apisix extensively. If I encounter any problems, I'll give you feedback promptly |
This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions. |
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time. |
Current Behavior
The ApisixRoute "rbd-http-routes" is invalid: spec.http.match.hosts: Invalid value: "8.130.141.31:7070": spec.http.match.hosts in body should match '^*?[0-9a-zA-Z-._]+$'
Some users access their applications through IP and ports, and use the HTTP protocol, so they hope to increase support for the HTTP port
The text was updated successfully, but these errors were encountered: