diff --git a/CHANGELOG.md b/CHANGELOG.md index b473c9262..9d244aea5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Fix so N property always exists in a vCard export (#8771) - Fix so rcmail::format_date() works with DateTimeImmutable input (#8867) +- Fix bug where a non-ASCII character in app.js could cause error in javascript engine (#8894) ## Release 1.5.3 diff --git a/program/js/app.js b/program/js/app.js index 14cfeefc9..7a33b4b5e 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -4264,7 +4264,7 @@ function rcube_webmail() var container = $(this.gui_objects.editform).find('.identity-encryption').first(); var identity_email = $(this.gui_objects.editform).find('.ff_email').val().trim(); - if (!container.length || !identity_email || !this.mailvelope_keyring.createKeyGenContainer) + if (!container.length || !identity_email || !this.mailvelope_keyring.createKeyGenContainer) return; var key_fingerprint;