Permalink
Browse files

bug #602, less strict check on section url parameter

  • Loading branch information...
1 parent 9004fdf commit f93a312e085e68301a0c2a6fc709216645764920 @plegall plegall committed Jan 4, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/plugin.php
View
@@ -39,7 +39,7 @@
continue;
}
- if ($sections[$i] == '..' or !preg_match('/^[a-zA-Z_\.-]+$/', $sections[$i]))
+ if ($sections[$i] == '..' or !preg_match('/^[a-zA-Z0-9_\.-]+$/', $sections[$i]))
{
die('invalid section token ['.htmlentities($sections[$i]).']');
}

0 comments on commit f93a312

Please sign in to comment.