mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that database restriction of server dialog should work with special characters. Fixes #3800
This commit is contained in:
committed by
Akshay Joshi
parent
a9794d8ab4
commit
3ffeb4be45
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user