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 b40a437 commit 03e671aCopy full SHA for 03e671a
csharp/ql/test/query-tests/Security Features/CWE-022/TaintedPath/TaintedPath.cs
@@ -61,6 +61,9 @@ public void ProcessRequest(HttpContext ctx)
61
{
62
File.ReadAllText(fullPath); // GOOD
63
}
64
+
65
+ // This test ensures that we can flow through `Path.GetFullPath` and still get a result.
66
+ ctx.Response.Write(File.ReadAllText(path)); // BAD [MISSING]
67
68
69
public bool IsReusable
0 commit comments