Skip to content

Commit e2fe63f

Browse files
committed
autoformat
1 parent 318718c commit e2fe63f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

csharp/ql/src/Security Features/CWE-079/StoredXSS.ql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ where
3131
if exists(sink.getNode().(Sink).explanation())
3232
then explanation = " (" + sink.getNode().(Sink).explanation() + ")"
3333
else explanation = ""
34-
select sink.getNode(), source, sink, "This HTML or JavaScript write" + explanation + " depends on a $@.",
35-
source.getNode(), "stored (potentially user-provided) value"
34+
select sink.getNode(), source, sink,
35+
"This HTML or JavaScript write" + explanation + " depends on a $@.", source.getNode(),
36+
"stored (potentially user-provided) value"

csharp/ql/src/Security Features/CWE-112/MissingXMLValidation.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ import semmle.code.csharp.dataflow.DataFlow::DataFlow::PathGraph
1818
from TaintTrackingConfiguration c, DataFlow::PathNode source, DataFlow::PathNode sink
1919
where c.hasFlowPath(source, sink)
2020
select sink.getNode(), source, sink,
21-
"This XML processing depends on a $@ without validation because " + sink.getNode().(Sink).getReason(),
22-
source.getNode(), "user-provided value"
21+
"This XML processing depends on a $@ without validation because " +
22+
sink.getNode().(Sink).getReason(), source.getNode(), "user-provided value"

0 commit comments

Comments
 (0)