Skip to content

Commit 3d84e5a

Browse files
authored
Merge pull request #243 from microsoft/lwsimpkins/fix-qhelp
fix powershell qhelp files
2 parents 0644878 + 25fb1aa commit 3d84e5a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

powershell/ql/src/experimental/UseOfReservedCmdletChar.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<p>
77
You cannot use following reserved characters in a function or cmdlet name as these can cause parsing or runtime errors.
88

9-
Reserved Characters include: #,(){}[]&/\\$^;:\"'<>|?@`*%+=~
9+
Reserved Characters include: #,(){}[]&amp;/\\$^;:\"'&lt;&gt;|?@`*%+=~
1010
</p>
1111

1212
</overview>

powershell/ql/src/queries/security/cwe-078/CommandInjection.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<qhelp>
55
<overview>
66
<p>Code that passes user input directly to
7-
<code>Invoke-Expression</code>, <code>&</code>, or some other library
7+
<code>Invoke-Expression</code>, <code>&amp;</code>, or some other library
88
routine that executes a command, allows the user to execute malicious
99
code.</p>
1010

powershell/ql/src/queries/security/cwe-078/DoNotuseInvokeExpression.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<p>Avoid using <code>Invoke-Expression</code> in your powershell code.</p>
1313

14-
<p>If you’re running some command and the command path has spaces in it, then you need the command invocation operator <code>&</code></p>
14+
<p>If you’re running some command and the command path has spaces in it, then you need the command invocation operator <code>&amp;</code></p>
1515
</recommendation>
1616

1717
<references>

0 commit comments

Comments
 (0)