Cancel changes

Description

When the the glide.security.output.replacement.patterns property is created, glide.ui.escape_all_script is true and glide.ui.escape_text is true, Client side errors are triggered which prevent the mobile UI from loading.

Errors:$m.do:1 Uncaught SyntaxError: Unexpected token $ in JSON at position 0 at JSON.parse (<anonymous>) at $m.do:14

Uncaught TypeError: Cannot read property 'title_image_path' of undefined at Object.$get (js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:8) at Object.invoke (js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3) at js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3 at r (js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3) at i (js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3) at Object.invoke (js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3) at Object.$get (js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3) at Object.invoke (js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3) at js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3 at r (js_includes_snm.jsx?v=03-22-2017_2342&lp=Thu_Jun_01_12_45_36_PDT_2017&c=4_47:3)

Steps to Reproduce

Create a new sys_properties record with the following information:

Name: glide.security.output.replacement.patterns

Type: string

Value: \$*\{=\$⁠{,\$*\[=\$⁠[

Set the value of the glide.ui.escape_all_script property to true.

Set the value of the glide.ui.escape_text property to true.

attempt to load the Mobile UI ($m.do) on the instance.

This appears to be related to both PRB721245 and PRB958042.

Workaround

No workaround, but fixed in the following versions as part of the fix for PRB958042...