Changeset 30979
- Timestamp:
- Feb 17, 2015, 1:38:08 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/plugin.php
r30950 r30979 47 47 $plugin_id = $sections[0]; 48 48 49 if (!preg_match('/^ \w+$/', $plugin_id))49 if (!preg_match('/^[\w-]+$/', $plugin_id)) 50 50 { 51 51 die('Invalid plugin identifier');
Note: See TracChangeset
for help on using the changeset viewer.