Skip to content
Commit b07ac8ad authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-base: validation.js: fix xgettext quirk



The xgettext utility does not properly discard `/` inside regex character
classes, causing a false positive unterminated string error.

Avoid the issue by explicitly escaping the embedded slash.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent dd111140
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment