apache / apache/apisix-java-plugin-runner

bug: when java plugin request setPath() method after use , url param for the upstream service not found

Open
#117 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
152
Forks
102
PR merge metrics
No merged PRs in 30d

Description

1. java plugin use request.setPath() method, the upstream service cannot obtain the URL suffix parameter。When I read the Apisix source code, I realized that after the rewrite path, the args of the upstream service is the args that gets java plugin response,when lua code gets args when URL rewriting, get args by java HttpRequest
2.
![screenshot-20220114-193529](https://user-images.githubusercontent.com/33853061/149509598-a12a7a7e-1517-458e-87a9-c200f66bb719.png)

![image](https://user-images.githubusercontent.com/33853061/149509995-1b4d17af-d6c3-4eac-8e98-ebb347928717.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.