You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix HTML escaping tests for newer Chromium behavior.
The new behavior actually makes the Chromium and Selenium test behavior
more intuitive, so the Selenium tests don't look like they actually
contained unescaped values, like before (even though they were escaped).
assert_login_forbidden("Sign in with Google","not verified")
87
-
assert_match("The email address 'unverified@example.com' is not verified. Please <a href=\"https://example.com/contact/?q='"><script>alert('hello')</script>\">contact us</a> for further assistance.",page.body)
91
+
assert_match("The email address 'unverified@example.com' is not verified. Please <a href=\"https://example.com/contact/?q='"><script>alert('hello')</script>\">contact us</a> for further assistance.",page.body)
assert_login_forbidden("Sign in with Google","not verified")
101
-
assert_match("The email address ''\"><script>alert('hello')</script>' is not verified. Please <a href=\"https://example.com/contact/?q='"><script>alert('hello')</script>\">contact us</a> for further assistance.",page.body)
105
+
assert_match("The email address ''\"><script>alert('hello')</script>' is not verified. Please <a href=\"https://example.com/contact/?q='"><script>alert('hello')</script>\">contact us</a> for further assistance.",page.body)
assert_login_forbidden("Sign in with Google","not authorized")
115
-
assert_match("The account for 'noadmin@example.com' is not authorized to access the admin. Please <a href=\"https://example.com/contact/?q='"><script>alert('hello')</script>\">contact us</a> for further assistance.",page.body)
119
+
assert_match("The account for 'noadmin@example.com' is not authorized to access the admin. Please <a href=\"https://example.com/contact/?q='"><script>alert('hello')</script>\">contact us</a> for further assistance.",page.body)
assert_login_forbidden("Sign in with Google","not authorized")
129
-
assert_match("The account for ''\"><script>alert('hello')</script>' is not authorized to access the admin. Please <a href=\"https://example.com/contact/?q='"><script>alert('hello')</script>\">contact us</a> for further assistance.",page.body)
133
+
assert_match("The account for ''\"><script>alert('hello')</script>' is not authorized to access the admin. Please <a href=\"https://example.com/contact/?q='"><script>alert('hello')</script>\">contact us</a> for further assistance.",page.body)
assert_login_forbidden("Sign in with MAX.gov","must use multi-factor")
147
-
assert_match("You must use multi-factor authentication to sign in. Please try again, or <a href=\"https://example.com/contact/?q='"><script>alert('hello')</script>\">contact us</a> for further assistance.",page.body)
151
+
assert_match("You must use multi-factor authentication to sign in. Please try again, or <a href=\"https://example.com/contact/?q='"><script>alert('hello')</script>\">contact us</a> for further assistance.",page.body)
0 commit comments