From 17fb6ee98640b23175d20d4ceffb941c520bd3e8 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 22 Apr 2013 14:09:54 +0200 Subject: Fix incorrect handling of some specific links (#1489060) Conflicts: program/lib/Roundcube/rcube_string_replacer.php --- tests/Framework/StringReplacer.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/Framework/StringReplacer.php b/tests/Framework/StringReplacer.php index e630ebac0..ee9efac4e 100644 --- a/tests/Framework/StringReplacer.php +++ b/tests/Framework/StringReplacer.php @@ -37,6 +37,8 @@ class Framework_StringReplacer extends PHPUnit_Framework_TestCase array('http://link.com?(link)', 'http://link.com?(link)'), array('http://', 'http://'), array('http://', 'http://'), + array('1@1.com www.domain.tld', '1@1.com www.domain.tld'), + array(' www.domain.tld ', ' www.domain.tld '), ); } -- cgit v1.2.3