We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5598420 commit 9460c91Copy full SHA for 9460c91
csharp/ql/lib/semmle/code/csharp/security/Sanitizers.qll
@@ -55,7 +55,7 @@ class UrlSanitizedExpr extends Expr {
55
*/
56
class SimpleTypeSanitizedExpr extends DataFlow::ExprNode {
57
SimpleTypeSanitizedExpr() {
58
- exists(Type t | t = this.getType() |
+ exists(Type t | t = this.getType() or t = this.getType().(NullableType).getUnderlyingType() |
59
t instanceof SimpleType or
60
t instanceof SystemDateTimeStruct
61
)
0 commit comments