Skip to content

Commit

Permalink
More test fixes for new email requirements.
Browse files Browse the repository at this point in the history
Followup to 5098cf4
  • Loading branch information
GUI committed Jan 31, 2025
1 parent 9f42b60 commit b8c5e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/factories/api_users.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
terms_and_conditions { "1" }

factory :xss_api_user do
email { 'a@"><script&nbsp;class="xss-test">alert("Hello-first_name");</script>.com' }
email { 'a@"&gt;&lt;script&nbsp;class="xss-test"&gt;alert("Hello-first_name");&lt;/script&gt;.com' }
first_name { '"><script class="xss-test">alert("Hello first_name");</script>' }
last_name { '"><script class="xss-test">alert("Hello last_name");</script>' }
use_description { '"><script class="xss-test">alert("Hello use_description");</script>' }
Expand Down

0 comments on commit b8c5e1b

Please sign in to comment.