MaMengzhen opened a new issue, #6207: URL: https://github.com/apache/shenyu/issues/6207
### Is there an existing issue for this? - [x] I have searched the existing issues ### Current Behavior There is an issue with the path truncation of get requests set by shenyuContext in MCP Server. <img width="2234" height="1844" alt="Image" src="https://github.com/user-attachments/assets/4ac011f8-d942-4c3a-908c-217c845413f1" /> When setting the path for shenyuContext, if it is a get request and the path contains parameter information, it will cause the MCP server to fail the request when calling. ### Expected Behavior When setting the path for shenyuContext, if it is a get request, the parameter information in the path should be truncated and only the path information should be retained. ### Steps To Reproduce 1. Obtain the decorated request path and retrieve the native path information from the decorated path. 2. Then execute shenyuContext.setPath. ### Environment ```markdown ShenYu version(s):2.7.0.3-SNAPSHOT ``` ### 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]
