Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
micro_app
gk
Commits
322bde59
Commit
322bde59
authored
Nov 03, 2026
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(mainsite): 修复SpringCommonFilter解析空RequestMapping value数组越界
Co-Authored-By:
Claude Opus 4.6
<
noreply@anthropic.com
>
parent
1cbdf063
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
SpringCommonFilter.java
...a/com/dlbridge/jadp/config/filter/SpringCommonFilter.java
+2
-1
No files found.
src/main/java/com/dlbridge/jadp/config/filter/SpringCommonFilter.java
View file @
322bde59
...
@@ -175,7 +175,8 @@ public class SpringCommonFilter implements Filter {
...
@@ -175,7 +175,8 @@ public class SpringCommonFilter implements Filter {
}
}
RequestMapping
methodRequestMapping
=
RequestMapping
methodRequestMapping
=
AnnotatedElementUtils
.
findMergedAnnotation
(
handlerMethod
.
getMethod
(),
RequestMapping
.
class
);
AnnotatedElementUtils
.
findMergedAnnotation
(
handlerMethod
.
getMethod
(),
RequestMapping
.
class
);
String
methodMapping
=
methodRequestMapping
.
value
()[
0
];
String
methodMapping
=
(
methodRequestMapping
!=
null
&&
methodRequestMapping
.
value
().
length
>
0
)
?
methodRequestMapping
.
value
()[
0
]
:
""
;
/* if (typeMapping.length() > 1 && typeMapping.endsWith(ROOT_PATH)) {
/* if (typeMapping.length() > 1 && typeMapping.endsWith(ROOT_PATH)) {
typeMapping = typeMapping.substring(0, typeMapping.length() - 1);
typeMapping = typeMapping.substring(0, typeMapping.length() - 1);
}*/
}*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment