Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f6e3e19

Browse files
authored
Clarify Path.Combine call behavior in documentation
Updated the name and description to clarify the issue with Path.Combine.
1 parent d709343 commit f6e3e19

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

csharp/ql/src/Bad Practices/PathCombine.ql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/**
2-
* @name Call to System.IO.Path.Combine
3-
* @description Finds calls to System.IO.Path's Combine method
2+
* @name Calls to System.IO.Path.Combine may silently drop its earlier arguments
3+
* @description Path.Combine may silently drop its earlier arguments
4+
* if its later arguments are absolute paths.
45
* @kind problem
56
* @problem.severity recommendation
67
* @precision very-high

0 commit comments

Comments
 (0)