Skip to content

Commit

Permalink
chore: standardize request parsing to use a single path handler
Browse files Browse the repository at this point in the history
  • Loading branch information
guqing committed Dec 3, 2024
1 parent 568c7d2 commit ba4b6bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public RequestInfo newRequestInfo(ServerHttpRequest request) {
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
Expand Down

0 comments on commit ba4b6bd

Please sign in to comment.