Skip to content

Commit 9a94462

Browse files
authored
autoformat
1 parent b5104ae commit 9a94462

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

javascript/ql/src/semmle/javascript/security/dataflow/UrlConcatenation.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,7 @@ predicate hostnameSanitizingPrefixEdge(DataFlow::Node source, DataFlow::Node sin
101101
* A check that sanitizes the hostname of a URL.
102102
*/
103103
class HostnameSanitizerGuard extends TaintTracking::SanitizerGuardNode, StringOps::StartsWith {
104-
HostnameSanitizerGuard() {
105-
hasHostnameSanitizingSubstring(getSubstring())
106-
}
104+
HostnameSanitizerGuard() { hasHostnameSanitizingSubstring(getSubstring()) }
107105

108106
override predicate sanitizes(boolean outcome, Expr e) {
109107
outcome = getPolarity() and

0 commit comments

Comments
 (0)