Cannot use single quote in passwordPolicySpecialChar
Affected version
Version: 2.16.2
Summary
- Try to add a
'
in passwordPolicySpecialChar - Display the password change interface
- JS error
Logs
Parsing error SyntaxError: Bad escaped character in JSON at position 5979
at JSON.parse (<anonymous>)
at HTMLScriptElement.<anonymous> (portal.js:105:20)
at Function.each (jquery.min.js:2:2976)
at S.fn.init.each (jquery.min.js:2:1454)
at n (portal.js:102:42)
at portal.js:277:13
at dispatch (jquery.min.js:2:43090)
at v.handle (jquery.min.js:2:41074)
Possible fixes
ESCAPE='js'
from HTML::Template does not correctly escape JSON strings. We need to do it before setting the template parameter