Setting property glide.ui.escape_all_script to true causes Unexpected token errors in the UI. Error message may include:

Uncaught SyntaxError: Unexpected token ILLEGAL

This may cause several cascading JavaScript errors in the browser console, stopping forms from loading completely.

The only solution to the issue is to fix the script. If it is a ServiceNow base system script, contact Customer Support to have the script fixed.

Steps to Reproduce

  1. Log in as an admin.
  2. Set the property glide.ui.escape_all_script to true. (Optionally flush the cache to refresh the property change effect.)
  3. Enable the browser console.
  4. Log out of the instance and log back in.
  5. Observe the errors.
  6. Navigate to incident.list.
  7. Right-click on an incident record.
    You receive the browser's context menu.


There is no workaround for this Known Error at this time.

Related Problem: PRB610301

Seen In

Eureka Patch 4
Eureka Patch 5

Fixed In


Associated Community Threads

There is no data to report.

Article Information

Last Updated:2016-01-11 12:53:05