Changeset 5383

Show
Ignore:
Timestamp:
10/09/09 01:46:32 (4 years ago)
Author:
jow
Message:

luci-0.9: merge r5382

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci/branches/luci-0.9/libs/cbi/luasrc/cbi.lua

    r5341 r5383  
    894894 
    895895    if section then 
    896         stat = section:match("^%w+$") and self.map:set(section, nil, self.sectiontype) 
     896        stat = section:match("^[%w_]+$") and self.map:set(section, nil, self.sectiontype) 
    897897    else 
    898898        section = self.map:add(self.sectiontype)