lianjunwei opened a new issue, #5055:
URL: https://github.com/apache/shenyu/issues/5055

   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Current Behavior
   
   Request api through shenyu gateway: 
http://127.0.0.1:9195/http-swagger2/post/hi. When the shenyu gateway enables 
the contextpath plug-in, the shenyu gateway will delete the path prefix 
"/http-swagger2" by default and forward it to the backend microservice. If you 
want the gateway to forward the backend service, add "/http-swagger2" prefix, 
there are 2 solutions: a. Set "addPrefixed" as open. 2. Or configure as shown 
in the screenshot below:
   
![image](https://github.com/apache/shenyu/assets/13819823/82faf0f2-02e5-44b2-a6d3-08d87f21b1b5)
   
   But after upgrading to v2.6.0, the original configuration becomes invalid.
   
   ### Expected Behavior
   
   _No response_
   
   ### Steps To Reproduce
   
   _No response_
   
   ### Environment
   
   ```markdown
   ShenYu version(s):
   ```
   
   
   ### Debug logs
   
   _No response_
   
   ### Anything else?
   
   _No 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to