diff options
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/validation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/validation.js b/modules/luci-base/htdocs/luci-static/resources/validation.js index b7a3a140e4..791a84823d 100644 --- a/modules/luci-base/htdocs/luci-static/resources/validation.js +++ b/modules/luci-base/htdocs/luci-static/resources/validation.js @@ -432,7 +432,7 @@ var ValidatorFactory = baseclass.extend({ if (v == '.' || v == '..') return this.assert(false, _('valid network device name, not "." or ".."')); - return this.assert(v.match(/^[^:/%\s]{1,15}$/), _('valid network device name between 1 and 15 characters not containing ":", "/", "%" or spaces')); + return this.assert(v.match(/^[^:\/%\s]{1,15}$/), _('valid network device name between 1 and 15 characters not containing ":", "/", "%" or spaces')); }, range: function(min, max) { |