Skip to content

Commit

Permalink
apply spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
leiberbertel committed Aug 19, 2024
1 parent 0c23ff9 commit 4812d61
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -673,8 +673,7 @@ private ResponseEntity<GenericVulnerabilityResponseBean<String>> getJWTResponseB
value = LevelConstants.LEVEL_13,
htmlTemplate = "LEVEL_13/HeaderInjection_Level13"
)
public ResponseEntity<GenericVulnerabilityResponseBean<String>> getHeaderInjectionVulnerability(
HttpServletRequest request) {
public ResponseEntity<GenericVulnerabilityResponseBean<String>> getHeaderInjectionVulnerability(HttpServletRequest request) {
String headerValue = request.getHeader("User-Defined-Header");
if (headerValue != null && headerValue.contains("malicious")) {
return new ResponseEntity<>(
Expand All @@ -688,4 +687,5 @@ public ResponseEntity<GenericVulnerabilityResponseBean<String>> getHeaderInjecti
);
}


}

0 comments on commit 4812d61

Please sign in to comment.