Skip to content

Commit 0cfac60

Browse files
authored
Merge pull request github#16100 from erik-krogh/fix-js-rb-typo
RB: fix language specifier typo in qhelp for rb/multi-char-san
2 parents a8f27af + 572d3ba commit 0cfac60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/src/queries/security/cwe-116/IncompleteMultiCharacterSanitization.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ end
9090
Another potential fix is to use the popular <code>sanitize</code> gem.
9191
It keeps most of the safe HTML tags while removing all unsafe tags and attributes.
9292
</p>
93-
<sample language="javascript">
93+
<sample language="ruby">
9494
require 'sanitize'
9595

9696
def sanitize_html(input)

0 commit comments

Comments
 (0)