diff --git a/src/Utils.js b/src/Utils.js index bf85311..322d0f1 100644 --- a/src/Utils.js +++ b/src/Utils.js @@ -516,7 +516,7 @@ utilities: { } else if (response.status && response.statusText) { msg = gettext('Connection error') + ' ' + response.status + ': ' + response.statusText; } - response.htmlStatus = msg; + response.htmlStatus = Ext.htmlEncode(msg); Ext.callback(callbackFn, options.scope, [options, false, response]); Ext.callback(failureFn, options.scope, [response, options]); },