Skip to content

Commit

Permalink
String Test: 'javascript:' uri scheme
Browse files Browse the repository at this point in the history
Should redirect to index.php
  • Loading branch information
dregad committed Jun 11, 2016
1 parent 11ab3d6 commit 3c54ace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Mantis/StringTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public function provider() {
array( 'plugin.php?page=Source/list&id=1', 'plugin.php?page=Source%2Flist&id=1'),
array( 'plugin.php?page=Source/list&id=1#abc', 'plugin.php?page=Source%2Flist&id=1#abc'),
array( 'login_page.php?return=http://google.com/', 'index.php'),
array( 'javascript:alert(1);', 'index.php'),
);

# @FIXME
Expand Down

0 comments on commit 3c54ace

Please sign in to comment.