Remove unneeded disjunction

This commit is contained in:
Ed Minnix
2025-02-06 15:10:06 -05:00
parent 0a817eb1da
commit 29d03db06b

View File

@@ -3,5 +3,5 @@ import semmle.code.csharp.security.dataflow.flowsources.Remote
from RemoteFlowSource source, File f
where
source.getLocation().getFile() = f and
(f.fromSource() or f.getExtension() = "razor")
f.fromSource()
select source, source.getSourceType()