From 11526305f506245af55e8ae7ea31faec49dfd98d Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Mon, 02 Mar 2009 12:34:18 -0500 Subject: [PATCH] Revert r2322; this is done in rcmail_html4inline() and now secured + fix tests --- tests/src/htmlxss.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/src/htmlxss.txt b/tests/src/htmlxss.txt index 60ceb94..f6c43e3 100644 --- a/tests/src/htmlxss.txt +++ b/tests/src/htmlxss.txt @@ -3,7 +3,7 @@ <p><img onLoad.="alert(document.cookie)" src="skins/default/images/roundcube_logo.png" /></p> -<p><a href="javascript:alert(document.cookie)">mail me!</a> +<p><a href="mailto:xss@somehost.net') && alert(document.cookie) || ignore('">mail me!</a> <a href="http://roundcube.net" target="_self">roundcube.net</a> <a href="http://roundcube.net" \onmouseover="alert('XSS')">roundcube.net (2)</a> -- Gitblit v1.9.1