From 037af6890fe6fdb84a08d3c86083e847c90ec0ad Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Tue, 22 Oct 2013 08:17:26 -0400 Subject: [PATCH] Fix vulnerability in handling _session argument of utils/save-prefs (#1489382) --- program/js/tiny_mce/utils/editable_selects.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/js/tiny_mce/utils/editable_selects.js b/program/js/tiny_mce/utils/editable_selects.js index fd943c0..4b920f3 100644 --- a/program/js/tiny_mce/utils/editable_selects.js +++ b/program/js/tiny_mce/utils/editable_selects.js @@ -16,7 +16,7 @@ for (i=0; i<nl.length; i++) { if (nl[i].className.indexOf('mceEditableSelect') != -1) { - o = new Option('(value)', '__mce_add_custom__'); + o = new Option(tinyMCEPopup.editor.translate('value'), '__mce_add_custom__'); o.className = 'mceAddSelectValue'; -- Gitblit v1.9.1