Testing if I can squash this way (#1)
* Fixed XSS resulting from markdown() method
This commit is contained in:
parent
c552d08b8e
commit
d2e177cac4
7 changed files with 61 additions and 1 deletions
|
|
@ -45,4 +45,9 @@ FactoryGirl.define do
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
factory :user_xss, parent: :user do
|
||||
biography '<div id="divInjectedElement"></div>'
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue