From f6e3e192ca0dd019981969dcdc1c191d54c2fad0 Mon Sep 17 00:00:00 2001 From: Jon Janego Date: Mon, 15 Dec 2025 15:18:34 -0600 Subject: [PATCH] Clarify Path.Combine call behavior in documentation Updated the name and description to clarify the issue with Path.Combine. --- csharp/ql/src/Bad Practices/PathCombine.ql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/csharp/ql/src/Bad Practices/PathCombine.ql b/csharp/ql/src/Bad Practices/PathCombine.ql index 24d358e83aa..0a734d45f3c 100644 --- a/csharp/ql/src/Bad Practices/PathCombine.ql +++ b/csharp/ql/src/Bad Practices/PathCombine.ql @@ -1,6 +1,7 @@ /** - * @name Call to System.IO.Path.Combine - * @description Finds calls to System.IO.Path's Combine method + * @name Calls to System.IO.Path.Combine may silently drop its earlier arguments + * @description Path.Combine may silently drop its earlier arguments + * if its later arguments are absolute paths. * @kind problem * @problem.severity recommendation * @precision very-high