When the Sign Plugin is used, the contextPath of ShenyuContext is empty, causing the appParam parameter to fail to be appended.
- Dominant language
- Java
- Stars
- 8.8k
- Forks
- 3.1k
- Avg merge
- 7d 1h
- Merged PRs (30d)
- 85
Description
### Question
shenyu version 2.6.0
When the Sign Plugin is used, the contextPath of ShenyuContext is empty, causing the appParam parameter to fail to be appended.
[:[](url)]()
The appParam parameter cannot be appended to the header.
[

](url)
("/" + p.getAppName()).equals(contextPath) = false

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the Sign Plugin handling of ShenyuContext, focusing on how contextPath is obtained and compared with "/" + p.getAppName(). Reproduce the reported case on ShenYu 2.6.0 and inspect whether appParam is appended to the header when contextPath is empty. Done means the parameter is appended in the affected request flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100