Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glW7M-0004YW-7F for pgadmin-hackers@arkaria.postgresql.org; Mon, 21 Jan 2019 09:43:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1glW7K-0006h9-Hb for pgadmin-hackers@arkaria.postgresql.org; Mon, 21 Jan 2019 09:43:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glW7K-0006fH-2M for pgadmin-hackers@lists.postgresql.org; Mon, 21 Jan 2019 09:43:42 +0000 Received: from mail-oi1-x236.google.com ([2607:f8b0:4864:20::236]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glW7D-0002IN-5f for pgadmin-hackers@postgresql.org; Mon, 21 Jan 2019 09:43:40 +0000 Received: by mail-oi1-x236.google.com with SMTP id a77so14021886oii.5 for ; Mon, 21 Jan 2019 01:43:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=Le3Hd8ZoeH0H9RUwQX/AW/DIrOERE/HjQ5UHlzbwUSA=; b=H+3bJRG9srU2BYe5P2Tk3TFh8y92wk13Y9g3s00KK4kCf1CKvCXU8Lj8rC4nnuVPqW HOwi7NCF+8zDSxudTuwlMSWM8mHSYqQqWaxta5OoORsOuRBNCXaW6bouHQopFzlVgw6M J3xAtlpNyEfHaY06jsmpQXChJtjUekN+1EowmqEF4k/ZKUxuhUf1fkpfJWtfmbAV0UMU 7jRN4T+ssSLDmeGHVYMlgoEUSFJ3xAoCBa9y7/3hZMMbGHR+fF3GENmnsWSp2ubYS75m XokBqIfUWull4rqpGpwaZHY8QTG3Fr/kH6X/WfqqiL88SiFCLiSBHI1pmnZ+bRyFXhIg hdTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Le3Hd8ZoeH0H9RUwQX/AW/DIrOERE/HjQ5UHlzbwUSA=; b=QjOmK18q18RuyCPbTRRlk0qrScnGizPVhh0OI4tUJOCLc2hKgOu5q526fg1/HUze4H u7g92Q5KHYiJqtcN5wYsSB9/BYmLnNGrr7RUsAutMeorgO6m+bTonnyp1DNlEqsPYoK/ yKSu4+fnSRABN9qG9sl8CLGBWgD0huGBJXKQhDITfD1T2KADF6HLKeQmzk7aPy8d+zTp b4XuzbYNSygQOchuvZ9PsT3zp6XspOOnb/EsW3DwlZnnHnLz0O+Qdt7cfYYlIBuBXrzT j5VhHxN9USUsZF+4mHFXFvz2/KJmCGnwYVQTVHnd+/3WhujcOehQUyAFx6PuWzauqXtW VtYQ== X-Gm-Message-State: AJcUukfG2awb2iRBob2IWxgFWvNE4hydO5k2QCCcOd8kKocuzHeX4xKu sZ4YITz4q5N0Ar77adUfkl/gBLrs+1IKlZDWCrEHWnBDa7s= X-Google-Smtp-Source: ALg8bN4PEuLduiw9sDpVfikyAzG9FFM66Xl/b+WzKZeoXAfRJOzHjcuMWoGFH2NgEERW3v8e7+XEtNTJ5Y6t3qEkziI= X-Received: by 2002:aca:bf06:: with SMTP id p6mr4912671oif.269.1548063813728; Mon, 21 Jan 2019 01:43:33 -0800 (PST) MIME-Version: 1.0 From: Khushboo Vashi Date: Mon, 21 Jan 2019 15:13:22 +0530 Message-ID: Subject: [pgAdmin4][Patch] - RM 3800 - User can not add database with special characters under DB restriction for add server To: pgadmin-hackers Content-Type: multipart/mixed; boundary="000000000000b533ae057ff4b1b2" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000b533ae057ff4b1b2 Content-Type: multipart/alternative; boundary="000000000000b533aa057ff4b1b0" --000000000000b533aa057ff4b1b0 Content-Type: text/plain; charset="UTF-8" Hi, Please find the attached patch to fix the RM 3800 - User can not add database with special characters under DB restriction for add server Thanks, Khushboo --000000000000b533aa057ff4b1b0 Content-Type: text/html; charset="UTF-8"
Hi,

Please find the attached patch to fix the RM 3800 - User can not add database with special characters under DB restriction for add server

Thanks,
Khushboo
--000000000000b533aa057ff4b1b0-- --000000000000b533ae057ff4b1b2 Content-Type: application/octet-stream; name="RM_3800.patch" Content-Disposition: attachment; filename="RM_3800.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jr6578930 ZGlmZiAtLWdpdCBhL3dlYi9wZ2FkbWluL3N0YXRpYy9qcy9iYWNrZm9ybS5wZ2FkbWluLmpzIGIv d2ViL3BnYWRtaW4vc3RhdGljL2pzL2JhY2tmb3JtLnBnYWRtaW4uanMKaW5kZXggN2RhNzIxYTku LjNiZDVhOTViIDEwMDY0NAotLS0gYS93ZWIvcGdhZG1pbi9zdGF0aWMvanMvYmFja2Zvcm0ucGdh ZG1pbi5qcworKysgYi93ZWIvcGdhZG1pbi9zdGF0aWMvanMvYmFja2Zvcm0ucGdhZG1pbi5qcwpA QCAtMTg0OSw3ICsxODQ5LDggQEAgZGVmaW5lKFsKICAgICB9LAogICAgIHRvUmF3OiBmdW5jdGlv bihmb3JtYXR0ZWREYXRhKSB7CiAgICAgICBpZiAoXy5pc0FycmF5KGZvcm1hdHRlZERhdGEpKSB7 Ci0gICAgICAgIHJldHVybiBfLm1hcChmb3JtYXR0ZWREYXRhLCBkZWNvZGVVUklDb21wb25lbnQp OworICAgICAgICBsZXQgdG1wQXJyID0gXy5tYXAoZm9ybWF0dGVkRGF0YSwgZW5jb2RlVVJJQ29t cG9uZW50KTsKKyAgICAgICAgcmV0dXJuIF8ubWFwKHRtcEFyciwgZGVjb2RlVVJJQ29tcG9uZW50 KTsKICAgICAgIH0gZWxzZSB7CiAgICAgICAgIGlmICghXy5pc051bGwoZm9ybWF0dGVkRGF0YSkg JiYgIV8uaXNVbmRlZmluZWQoZm9ybWF0dGVkRGF0YSkpIHsKICAgICAgICAgICByZXR1cm4gZGVj b2RlVVJJQ29tcG9uZW50KGZvcm1hdHRlZERhdGEpOwo= --000000000000b533ae057ff4b1b2--