Skip to content

Commit b8c5e1b

Browse files
committed
More test fixes for new email requirements.
Followup to 5098cf4
1 parent 9f42b60 commit b8c5e1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/factories/api_users.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
terms_and_conditions { "1" }
88

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

0 commit comments

Comments
 (0)