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 2021/06/26 11:19:52 UTC

[GitHub] [apisix] w7team opened a new issue #4489: bug: 路径/*不包括/

w7team opened a new issue #4489:
URL: https://github.com/apache/apisix/issues/4489


   说明里是:/* 代表所有路径
   但实际设置的时候/*不包括/,还要设置/*和/两个值才行,这个属于bug不?
   ![image](https://user-images.githubusercontent.com/74588507/123511374-6e1fcd00-d6b3-11eb-95be-b81f22980a34.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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #4489: bug: 路径/*不包括/

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #4489:
URL: https://github.com/apache/apisix/issues/4489#issuecomment-884184701


   Closed as lack of response.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] w7team commented on issue #4489: bug: 路径/*不包括/

Posted by GitBox <gi...@apache.org>.
w7team commented on issue #4489:
URL: https://github.com/apache/apisix/issues/4489#issuecomment-869457774


   我是2.6下测试的,确定会有这个问题


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #4489: bug: 路径/*不包括/

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #4489:
URL: https://github.com/apache/apisix/issues/4489#issuecomment-869522494


   Can't be reproduced with 2.6:
   
   ```
    $ curl http://127.0.0.1:9080/ -i
   HTTP/1.1 502 Bad Gateway
   Date: Mon, 28 Jun 2021 09:19:33 GMT
   Content-Type: text/html; charset=utf-8
   Transfer-Encoding: chunked
   Connection: keep-alive
   Server: APISIX/2.6
   X-APISIX-Upstream-Status: 502
   Custom-Header-Name: 4979675b-3ca8-424f-8fa2-2c96b96b229c
   
   w
   ```


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander closed issue #4489: bug: 路径/*不包括/

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #4489:
URL: https://github.com/apache/apisix/issues/4489


   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #4489: bug: 路径/*不包括/

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #4489:
URL: https://github.com/apache/apisix/issues/4489#issuecomment-869159799


   I try:
   ```
   {
     "uri": "/*",
     "plugins": {
       "echo": {
         "body": "w"
       }
     },
     "upstream": {
           "type": "roundrobin",
           "nodes": {
               "127.0.0.1:1980": 1
           }
       }
   }
   ```
   
   And I find it can match `/`.
   
   Can you confirm the problem can be reproduced with the Admin API? What's your APISIX version?


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tokers commented on issue #4489: bug: 路径/*不包括/

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #4489:
URL: https://github.com/apache/apisix/issues/4489#issuecomment-869598297


   @w7team How did you create this route? Through dashboard or Admin API? you may try to paste the route here.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander edited a comment on issue #4489: bug: 路径/*不包括/

Posted by GitBox <gi...@apache.org>.
spacewander edited a comment on issue #4489:
URL: https://github.com/apache/apisix/issues/4489#issuecomment-869522494


   Can't be reproduced with 2.6:
   
   ```
    $ curl http://127.0.0.1:9080/ -i
   HTTP/1.1 502 Bad Gateway
   Date: Mon, 28 Jun 2021 09:19:33 GMT
   Content-Type: text/html; charset=utf-8
   Transfer-Encoding: chunked
   Connection: keep-alive
   Server: APISIX/2.6
   
   w
   ```
   
   My configuration is:
   ```
   {
     "uri": "/*",
     "plugins": {
       "echo": {
         "body": "w"
       }
     },
     "upstream": {
           "type": "roundrobin",
           "nodes": {
               "127.0.0.1:1980": 1
           }
       }
   }
   ```


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org