Ensure that database restriction of server dialog should work with special characters. Fixes #3800

This commit is contained in:
Khushboo Vashi 2019-01-21 17:24:46 +05:30 committed by Akshay Joshi
parent a9794d8ab4
commit 3ffeb4be45
2 changed files with 4 additions and 2 deletions

View File

@ -20,10 +20,11 @@ Bug fixes
| `Bug #3695 <https://redmine.postgresql.org/issues/3695>`_ - Ensure long string should be wrap in alertify dialogs.
| `Bug #3740 <https://redmine.postgresql.org/issues/3740>`_ - Inline edbspl trigger functions should not be visible in Grant Wizard.
| `Bug #3774 <https://redmine.postgresql.org/issues/3774>`_ - Proper SQL should be generated when create function with return type as custom type argument.
| `Bug #3800 <https://redmine.postgresql.org/issues/3800>`_ - Ensure that database restriction of server dialog should work with special characters.
| `Bug #3811 <https://redmine.postgresql.org/issues/3811>`_ - Ensure that Backup/Restore button should work on single click.
| `Bug #3837 <https://redmine.postgresql.org/issues/3837>`_ - Fixed SQL for when clause while creating Trigger.
| `Bug #3838 <https://redmine.postgresql.org/issues/3838>`_ - Proper SQL should be generated when creating/changing column with custom type argument.
| `Bug #3840 <https://redmine.postgresql.org/issues/3840>`_ - Ensure that file format combo box value should not retained when hidden files checkbox is toggled.
| `Bug #3840 <https://redmine.postgresql.org/issues/3840>`_ - Ensure that file format combo box value should be retained when hidden files checkbox is toggled.
| `Bug #3846 <https://redmine.postgresql.org/issues/3846>`_ - Proper SQL should be generated when create procedure with custom type arguments.
| `Bug #3891 <https://redmine.postgresql.org/issues/3891>`_ - Correct order of Save and Cancel button for json/jsonb editing.
| `Bug #3897 <https://redmine.postgresql.org/issues/3897>`_ - Data should be updated properly for FTS Configurations, FTS Dictionaries, FTS Parsers and FTS Templates.

View File

@ -1849,7 +1849,8 @@ define([
},
toRaw: function(formattedData) {
if (_.isArray(formattedData)) {
return _.map(formattedData, decodeURIComponent);
let tmpArr = _.map(formattedData, encodeURIComponent);
return _.map(tmpArr, decodeURIComponent);
} else {
if (!_.isNull(formattedData) && !_.isUndefined(formattedData)) {
return decodeURIComponent(formattedData);