chore: standardize request parsing to use a single path handler (#7106)

#### What type of PR is this?
/kind improvement
/area core
/milestone 2.20.x

#### What this PR does / why we need it:
统一使用同一个 RequestPath 来解析请求信息

#### Does this PR introduce a user-facing change?

```release-note
None
```
pull/7108/head
guqing 2024-12-03 19:39:06 +08:00 committed by GitHub
parent 568c7d27e5
commit 7bd9408519
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public class RequestInfoFactory {
RequestInfo requestInfo =
new RequestInfo(false, path.value(), request.getMethod().name().toLowerCase());
String[] currentParts = splitPath(request.getPath().value());
String[] currentParts = splitPath(path.value());
if (currentParts.length < 3) {
// return a non-resource request