diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-07-07 15:39:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-07 15:39:56 +0200 |
commit | 1fad6c0eed398b1dd594dcf43cbc4013be7c396e (patch) | |
tree | c2b57bf6195884a494a6e83dbd8fa20ebb96b018 /applications | |
parent | e13822e7096056ead944d1b7b3ff64864d80ccb5 (diff) | |
parent | f73da9ca82ff8e0352c3942ea78ab7d1d0317668 (diff) |
Merge pull request #2806 from dibdot/magic
system-wide: fix escaping of magic chars
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua index 0fa997c8b..3736471f5 100644 --- a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua +++ b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua @@ -26,7 +26,7 @@ pwd.password = false function pwd.write(self, section, value) local pass - if string.match(value, "^\$%d\$.*") then + if string.match(value, "^%$%d%$.*") then pass = value else local t = tonumber(nixio.getpid()*os.time()) |