-
Bug
-
Resolution: Fixed
-
Minor
-
3.2.5, 3.3.2
-
MOODLE_32_STABLE, MOODLE_33_STABLE
-
MOODLE_34_STABLE
-
wip-
MDL-60337-master -
-
3.4 Sprint 5
added unittest to demostrate it
$text = '<a href="http://teßt.de">teßt.de</a>';
|
$expected = '<a href="http://xn--tet-6ka.de">teßt.de</a>';
|
$this->assertSame($expected, purify_html($text));
|
Failed asserting that two strings are identical.
|
--- Expected
|
+++ Actual
|
@@ @@
|
-<a href="http://xn--tet-6ka.de">teßt.de</a>
|
+<a href="http://tesst.de">teßt.de</a>
|
http://teßt.de/ is the same as http://xn--tet-6ka.de but NOT the same as http://tesst.de