luci-base: validation.js: count byte- instead of character length of strings
authorJo-Philipp Wich <jo@mein.io>
Sun, 17 May 2020 19:34:30 +0000 (21:34 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 17 May 2020 19:40:27 +0000 (21:40 +0200)
commit9a41673488dd7725c8a7f69430b5c8559a038695
tree3eeff9ada78a23ea7f4ef5744f20a94a01011d5c
parent01d5d5f92963d9596a3c0b669a7e8d87b64132d5
luci-base: validation.js: count byte- instead of character length of strings

Fixes: #4055
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/validation.js