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/11/27 02:06:33 UTC
[GitHub] [apisix-dashboard] idbeta opened a new issue #889: bug: manager-api allows adding route with uri and uris at the same time
idbeta opened a new issue #889:
URL: https://github.com/apache/apisix-dashboard/issues/889
# Bug report
## Describe the bug
manager-api allows adding route with `uri` and `uris` at the same time.
Because the front end is limited, the priority of the issue is not high.
## How to Reproduce
```
{
caseDesc: "add route with uri and uris at the same time",
Object: MangerApiExpect(t),
Method: http.MethodPut,
Path: "/apisix/admin/routes/r1",
Body: `{
"uri": "/hello_notexist",
"uris": ["/hello_notexist2","/hello"],
"upstream": {
"type": "roundrobin",
"nodes": [{
"host": "172.16.238.20",
"port": 1980,
"weight": 1
}]
}
}`,
Headers: map[string]string{"Authorization": token},
ExpectStatus: http.StatusBadRequest,
},
```
----------------------------------------------------------------
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-dashboard] nic-chen commented on issue #889: bug: manager-api allows adding route with uri and uris at the same time
Posted by GitBox <gi...@apache.org>.
nic-chen commented on issue #889:
URL: https://github.com/apache/apisix-dashboard/issues/889#issuecomment-764448221
fixed by https://github.com/apache/apisix/pull/3008
----------------------------------------------------------------
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-dashboard] nic-chen closed issue #889: bug: manager-api allows adding route with uri and uris at the same time
Posted by GitBox <gi...@apache.org>.
nic-chen closed issue #889:
URL: https://github.com/apache/apisix-dashboard/issues/889
----------------------------------------------------------------
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-dashboard] lilien1010 commented on issue #889: bug: manager-api allows adding route with uri and uris at the same time
Posted by GitBox <gi...@apache.org>.
lilien1010 commented on issue #889:
URL: https://github.com/apache/apisix-dashboard/issues/889#issuecomment-734535432
might need to discard uri, only uris is enough,
----------------------------------------------------------------
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-dashboard] nic-chen closed issue #889: bug: manager-api allows adding route with uri and uris at the same time
Posted by GitBox <gi...@apache.org>.
nic-chen closed issue #889:
URL: https://github.com/apache/apisix-dashboard/issues/889
----------------------------------------------------------------
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-dashboard] nic-chen commented on issue #889: bug: manager-api allows adding route with uri and uris at the same time
Posted by GitBox <gi...@apache.org>.
nic-chen commented on issue #889:
URL: https://github.com/apache/apisix-dashboard/issues/889#issuecomment-764448221
fixed by https://github.com/apache/apisix/pull/3008
----------------------------------------------------------------
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