Improper system property value "glide.security.output.replacement.patterns" could break the Navigator panel and Frame


Description

Improper system property value "glide.security.output.replacement.patterns" could break the Navigator panel and Frame.

Error messages can be found in the browser console.

uncaught SyntaxError: Unexpected token $ in JSON at position 0
    at JSON.parse (<anonymous>)
    at navpage.do:270
    at navpage.do:282
Uncaught Error: [$injector:unpr] http://errors.angularjs.org/1.5.11/$injector/unpr?p0=modalPathProvider%20%3C-%20modalPath%20%3C-%20settings
    at js_includes_concourse.jsx?v=03-02-2020_2243&lp=Tue_Mar_31_14_26_24_PDT_2020&c=5_59:2513
    at js_includes_concourse.jsx?v=03-02-2020_2243&lp=Tue_Mar_31_14_26_24_PDT_2020&c=5_59:2550
    at Object.d [as get] (js_includes_concourse.jsx?v=03-02-2020_2243&lp=Tue_Mar_31_14_26_24_PDT_2020&c=5_59:2548)
    at js_includes_concourse.jsx?v=03-02-2020_2243&lp=Tue_Mar_31_14_26_24_PDT_2020&c=5_59:2550
    at d (js_includes_concourse.jsx?v=03-02-2020_2243&lp=Tue_Mar_31_14_26_24_PDT_2020&c=5_59:2548)
    at e (js_includes_concourse.jsx?v=03-02-2020_2243&lp=Tue_Mar_31_14_26_24_PDT_2020&c=5_59:2548)
    at Object.invoke (js_includes_concourse.jsx?v=03-02-2020_2243&lp=Tue_Mar_31_14_26_24_PDT_2020&c=5_59:2548)
    at R.instance (js_includes_concourse.jsx?v=03-02-2020_2243&lp=Tue_Mar_31_14_26_24_PDT_2020&c=5_59:2598)
    at n (js_includes_concourse.jsx?v=03-02-2020_2243&lp=Tue_Mar_31_14_26_24_PDT_2020&c=5_59:2573)
    at g (js_includes_concourse.jsx?v=03-02-2020_2243&lp=Tue_Mar_31_14_26_24_PDT_2020&c=5_59:2566)

 

Release or Environment

Any release.

Cause

The value of the system property "glide.security.output.replacement.patterns" is set to "\$*\{=\$⁠{,\$*\[=\$⁠[".

This will add "$" into the JSON body in "concourse_settings.xml" and cause JSON Parse error.

It breaks the Navigator panel and Frame.

Resolution

Update the value of system property to a proper value like the following.

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