提交 20155345 编写于 作者: J Justin Collins

Add the tests for to_json XSS in Rails 4

this was supposed to be part of 5ffafd80
上级 ee558334
<%= raw User.find(params[:id]).to_json %>
<%= raw inside_something(User.find(params[:id]).to_json) %>
<%= raw call_something(params).to_json %>
<%= raw params[:stuff].to_json %>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册