Changeset 30980


Ignore:
Timestamp:
02/17/15 13:38:35 (4 years ago)
Author:
plg
Message:

merge r30979 from trunk to branch 2.7

bug 3201: accept - in plugin directory name (identifier)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/admin/plugin.php

    r30951 r30980  
    4747$plugin_id = $sections[0]; 
    4848 
    49 if (!preg_match('/^\w+$/', $plugin_id)) 
     49if (!preg_match('/^[\w-]+$/', $plugin_id)) 
    5050{ 
    5151  die('Invalid plugin identifier'); 
Note: See TracChangeset for help on using the changeset viewer.