fix: when url has param with question mark,parse param wrong (#14235)
This commit is contained in:
parent
2ddf0fdec4
commit
000db7c40a
|
|
@ -57,7 +57,6 @@ public class ProviderParseContext extends BaseParseContext {
|
|||
public String getPathVariable(int urlSplitIndex) {
|
||||
|
||||
String[] split = getRequestFacade().getRequestURI().split("/");
|
||||
|
||||
return split[urlSplitIndex];
|
||||
return split[urlSplitIndex].split("\\?")[0];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue