From: <nuc...@us...> - 2008-10-22 15:59:53
|
Revision: 5710 http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5710&view=rev Author: nuclear_eclipse Date: 2008-10-22 15:59:43 +0000 (Wed, 22 Oct 2008) Log Message: ----------- Added test cases for plugin pages that breaks string_sanitize_url(). Modified Paths: -------------- trunk/mantisbt/tests/test_string_sanitize_url.php Modified: trunk/mantisbt/tests/test_string_sanitize_url.php =================================================================== --- trunk/mantisbt/tests/test_string_sanitize_url.php 2008-10-22 12:41:37 UTC (rev 5709) +++ trunk/mantisbt/tests/test_string_sanitize_url.php 2008-10-22 15:59:43 UTC (rev 5710) @@ -43,6 +43,8 @@ 'abc.php?abc=def&z=xyz#a', 'abc.php?abc=def&z=<script>alert("foo")</script>z#a', 'abc.php?abc=def&z=z#<script>alert("foo")</script>a', + 'plugin.php?page=Source/index', + 'plugin.php?page=Source/list&id=1', $my_path.'abc.php', $my_path.'abc.php#a', $my_path.'abc.php?abc=def', @@ -51,6 +53,8 @@ $my_path.'abc.php?abc=def&z=xyz#a', $my_path.'abc.php?abc=def&z=<script>alert("foo")</script>z#a', $my_path.'abc.php?abc=def&z=z#<script>alert("foo")</script>a', + $my_path.'plugin.php?page=Source/index', + $my_path.'plugin.php?page=Source/list&id=1', 'http://www.test.my.url/' ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |