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/13 16:09:30 UTC

[GitHub] [apisix-dashboard] Applenice opened a new issue #805: proxy-rewrite plugin header data missing

Applenice opened a new issue #805:
URL: https://github.com/apache/apisix-dashboard/issues/805


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [X] Bug
   - [ ] Requirements
   - [ ] Feature or performance improvement
   - [ ] Other
   
   ___
   ### Question
   - What do you want to know?
   ```
   $ git branch -v
   * v2.0 6dae80b feat(docs): improve README & Deploy (#785)
   ```
   Chrome 86.0.4240.198
   
   In the routing configuration,`Edit Route`->`Plugin Config`->`proxy-rewrite`,Click on `Setting`->Click on the `left unconfigured area` or `cancel` -> Click again `proxy-rewrite Setting`,Header's configuration is missing.
   ![Snipaste_2020-11-13_23-36-21](https://user-images.githubusercontent.com/30207614/99091059-53a85000-260a-11eb-8acd-2abfa4f034ba.png)
   
   Only the header part of the configuration is missing, the configuration of host, regex_uri, and schema is still there.👀
   
   I've observed the network request. The response is normal.
   ```
   Request URL: http://192.168.1.118:8080/apisix/admin/routes/328415276909462181
   Request Method: GET
   Status Code: 200 OK
   Remote Address: 192.168.1.118:8080
   Referrer Policy: strict-origin-when-cross-origin
   ```
   The Plugin section of the response contains the header data.
   ```
   "plugins": {
       "basic-auth": {},
       "proxy-rewrite": {
           "headers": {
               "Accept": {
                   "key": "Accept",
                   "value": "application/json"
               }
           },
           "host": "xxxxxxx",
           "regex_uri": [
               "^/geo/(.*)$",
               "/json/$1"
           ],
           "scheme": "http"
       }
   },
   ```


----------------------------------------------------------------
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] juzhiyuan closed issue #805: proxy-rewrite plugin header data missing

Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #805:
URL: https://github.com/apache/apisix-dashboard/issues/805


   


----------------------------------------------------------------
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] membphis commented on issue #805: proxy-rewrite plugin header data missing

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #805:
URL: https://github.com/apache/apisix-dashboard/issues/805#issuecomment-727362466


   @juzhiyuan @LiteSun please confirm if we need to update the schema of plugin `proxy-rewrite`


----------------------------------------------------------------
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] liuxiran commented on issue #805: proxy-rewrite plugin header data missing

Posted by GitBox <gi...@apache.org>.
liuxiran commented on issue #805:
URL: https://github.com/apache/apisix-dashboard/issues/805#issuecomment-727689391


   Replicated in my local env, checking~


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