diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:18:55 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:18:55 -0700 |
commit | 1c538bfabc2cd31f27067505f0c3d1a46cba6ef0 (patch) | |
tree | 96922ad4459eda1e649327fd391d60c58d454c53 /rt/t/security/CVE-2011-2083-clickable-xss.t | |
parent | 4f5619288413a185e9933088d9dd8c5afbc55dfa (diff) |
RT 4.2.11, ticket#13852
Diffstat (limited to 'rt/t/security/CVE-2011-2083-clickable-xss.t')
-rw-r--r-- | rt/t/security/CVE-2011-2083-clickable-xss.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rt/t/security/CVE-2011-2083-clickable-xss.t b/rt/t/security/CVE-2011-2083-clickable-xss.t index 008c80378..753d8c770 100644 --- a/rt/t/security/CVE-2011-2083-clickable-xss.t +++ b/rt/t/security/CVE-2011-2083-clickable-xss.t @@ -25,7 +25,7 @@ for my $link ( map { ($_, ucfirst $_) } @links ) { Type => 'RefersTo', Target => $link, ); - } [qr/Could not determine a URI scheme/, qr/Couldn't resolve/]; + } [qr/Could not determine a URI scheme/]; ok !$ok, $msg; ok $m->login, "logged in"; @@ -40,7 +40,6 @@ for my $link ( map { ($_, ucfirst $_) } @links ) { }, 'submitted links page'); $m->content_contains("Couldn't resolve "); $m->next_warning_like(qr/Could not determine a URI scheme/, 'expected warning'); - $m->next_warning_like(qr/Couldn't resolve/, 'expected warning'); my $element = $m->find_link( url => $link ); ok !$element, "no <a> link"; |