Skip to content

Commit b78ae16

Browse files
committed
Ruby: remove a fixed TODO
1 parent e5fbc92 commit b78ae16

File tree

1 file changed

+1
-1
lines changed
  • ruby/ql/test/query-tests/security/cwe-079/app/views/foo/bars

1 file changed

+1
-1
lines changed

ruby/ql/test/query-tests/security/cwe-079/app/views/foo/bars/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<ul>
1515
<% for key in [:display_text, :safe_text] do %>
1616
<%# BAD: A local rendered raw via the locals hash %>
17-
<%# TODO: we miss that `key` can take `:display_text` as a value here %>
17+
1818
<li><%= raw local_assigns[key] %></li>
1919
<% end %>
2020
</ul>

0 commit comments

Comments
 (0)