Skip to content

Commit ff3f85b

Browse files
committed
Autoformat
1 parent 814004e commit ff3f85b

File tree

1 file changed

+2
-2
lines changed
  • java/ql/src/semmle/code/java/security

1 file changed

+2
-2
lines changed

java/ql/src/semmle/code/java/security/XSS.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ private class DefaultXssSink extends XssSink {
9393
/** A default sanitizer that considers numeric and boolean typed data safe for writing to output. */
9494
private class DefaultXSSSanitizer extends XssSanitizer {
9595
DefaultXSSSanitizer() {
96-
this.getType() instanceof NumericType or this.getType() instanceof BooleanType
97-
or
96+
this.getType() instanceof NumericType or
97+
this.getType() instanceof BooleanType or
9898
// Match `org.springframework.web.util.HtmlUtils.htmlEscape` and possibly other methods like it.
9999
this.asExpr().(MethodAccess).getMethod().getName().regexpMatch("(?i)html_?escape.*")
100100
}

0 commit comments

Comments
 (0)