Skip to content

Commit 182a926

Browse files
committed
rename some example files
1 parent 1929a95 commit 182a926

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

ql/src/queries/security/cwe-079/ReflectedXSS.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333
<code>params[:user_name]</code> content within the output tags will be
3434
HTML-escaped automatically before being emitted.
3535
</p>
36-
<sample src="examples/safe.html.erb" />
36+
<sample src="examples/reflected_xss_safe.html.erb" />
3737

3838
<p>
3939
However, the following example is unsafe because user-controlled input is
4040
emitted without escaping, since it is marked as <code>html_safe</code>.
4141
</p>
42-
<sample src="examples/reflective_xss.html.erb" />
42+
<sample src="examples/reflected_xss_unsafe.html.erb" />
4343
</example>
4444

4545
<references>

0 commit comments

Comments
 (0)