Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBMdX-0005vb-08 for pgadmin-hackers@arkaria.postgresql.org; Thu, 18 May 2017 14:42:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dBMdV-0004dJ-H8 for pgadmin-hackers@arkaria.postgresql.org; Thu, 18 May 2017 14:42:41 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dBMdH-0004E8-82 for pgadmin-hackers@postgresql.org; Thu, 18 May 2017 14:42:27 +0000 Received: from mail-pf0-x22f.google.com ([2607:f8b0:400e:c00::22f]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dBMdA-0006Nv-4K for pgadmin-hackers@postgresql.org; Thu, 18 May 2017 14:42:26 +0000 Received: by mail-pf0-x22f.google.com with SMTP id e193so24938890pfh.0 for ; Thu, 18 May 2017 07:42:19 -0700 (PDT) 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=kCJBnMSNSBFZ08/Q951D/e9oBh6ksZmZIksmxE+k6RE=; b=oJJr0FH84W04LprZqNt9a5/ZO0KEzmdGUpzu6yNEZNX0GQNPk/fr+ThmUSHKL+yOsU A1lhjcRNy4PkZ4DBzPpMAxz/fr0I4ADgQDuUU3jYx5vgmwtIT1CmfrA9wfspUG03Bkdj aURXx6PNaG3YVG8ddSx2UsSWn8h1bXMELKn+TlJSH61cZDrgilLG0nX6KWFR7JTZiCWX itVakwBd1kquaPS1uJE7sPbk2wrPZ3sGZd6aMok00q1O/xLl5LQKjk/0iSv7FkCImgZX i4h46aEFfA3v8c9uhWNLcApfwBYgQ8bcbrvWM1IGSozAxoUQGZsVOjsPCSxP2vIdmrnY 8+TQ== 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=kCJBnMSNSBFZ08/Q951D/e9oBh6ksZmZIksmxE+k6RE=; b=Lb1GavX0zHvCHDU9mQOJmiYdk03CDnIBWJ5ZViwVIB1l7BVKak6OWHgJRsZvLM1nxP Bmly2Iy52xiiKrcTT2wNIcYAeWanTo0dqSeQkGDpPN6LSORYJsldMp+C/hcUN6+VQyl5 7btuXRNbLhnxi5PPmNFh8fdqnhDuuexFZQ8ePs7JiTBJTj8bCrvLSjEV76gLxnPmCiSU RLxj2hbp2peu7bgPDZ+gUWV169MVZ5rQoCwWjQ10Tfv+jNDzMF51gqCqIANwnrJokhRd 8JK4fzvXVD0/FQA6frw2GK+ot0wNkug4pf2+C1Ac4XrhVoSh1xDjgGWpspI04hNLxyAp 74Zg== X-Gm-Message-State: AODbwcA/qyUJYDcdWOx7w/V1lxAiQy2lDRsxcNVcWMdfDnQxl1K4eFPF 9FrHRhSR3JjD6N55+sX6Jn9FSA72XhMx X-Received: by 10.84.176.131 with SMTP id v3mr5383182plb.138.1495118538529; Thu, 18 May 2017 07:42:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.134.79 with HTTP; Thu, 18 May 2017 07:42:17 -0700 (PDT) From: Neel Patel Date: Thu, 18 May 2017 20:12:17 +0530 Message-ID: Subject: [pgAdmin4][runtime][patch]: RM#2398 - Proxy not bypassed for embedded server in runtime on Windows To: pgadmin-hackers Content-Type: multipart/mixed; boundary="94eb2c11ad18630d5b054fcd6927" X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --94eb2c11ad18630d5b054fcd6927 Content-Type: multipart/alternative; boundary="94eb2c11ad18630d56054fcd6925" --94eb2c11ad18630d56054fcd6925 Content-Type: text/plain; charset="UTF-8" Hi Dave, Please find attached patch for the fix of RM#2398 - "Proxy not bypassed for embedded server in runtime on Windows". *Observation:-* We have observed this issue only with Qt WebEngine. We have not observed this issue with Webkit ( Tested with Qt 5.3 ). *Issue:-* If user set option "Bypass proxy server for local addresses" then WebEngine doesn't bypass the request for local addresses even if that option is set. *Solution:-* Now if user set option "Bypass proxy server for local addresses" then Web Engine bypass the request for localhost and if user unset then request will not be bypassed. Please find attached fix for this issue. Do review and test it and let me know for any issue. Thanks, Neel Patel --94eb2c11ad18630d56054fcd6925 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Dave,

Please find attached patch for= the fix of RM#2398 - "Proxy not bypassed for embedded server in runti= me on Windows".

Observation:-
We have observed this issue only with Qt WebEngine. We have not ob= served this issue with Webkit ( Tested with Qt 5.3 ).

<= div>Issue:-
If user set option "Bypass proxy server for local addresses" the= n WebEngine doesn't bypass the request for local addresses even if that= option is set.

Solution:-
Now if user set option "Bypass proxy= server for local addresses" then Web Engine bypass the request= for localhost and if user unset then request will not be bypassed.

Please find attached fix for this issue. Do review and te= st it and let me know for any issue.

Thanks,
=
Neel Patel
--94eb2c11ad18630d56054fcd6925-- --94eb2c11ad18630d5b054fcd6927 Content-Type: application/octet-stream; name="RM_2398.patch" Content-Disposition: attachment; filename="RM_2398.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_j2udwt0h0 ZGlmZiAtLWdpdCBhL3J1bnRpbWUvcGdBZG1pbjQuY3BwIGIvcnVudGltZS9w Z0FkbWluNC5jcHAKaW5kZXggYTJkYmU3NC4uODY1ZTZhZCAxMDA2NDQKLS0t IGEvcnVudGltZS9wZ0FkbWluNC5jcHAKKysrIGIvcnVudGltZS9wZ0FkbWlu NC5jcHAKQEAgLTMyNyw2ICszMjcsMTIgQEAgaW50IG1haW4oaW50IGFyZ2Ms IGNoYXIgKiBhcmd2W10pCiAgICAgYnJvd3NlcldpbmRvdy5zZXRXaW5kb3dJ Y29uKFFJY29uKCI6L3BnQWRtaW40LmljbyIpKTsKICAgICBicm93c2VyV2lu ZG93LnNob3coKTsKIAorICAgIC8vIERpc2FibGUgcGxhdGZvcm0gc3BlY2lm aWMgcHJveHkgc2V0dGluZ3MuCisgICAgLy8gVGhpcyBpcyByZXF1aXJlZCBm b3IgUXRXZWJFbmdpbmUgb24gd2luZG93cyBwbGF0Zm9ybS4KKyAgICAvLyBJ ZiB1c2VyIGhhcyBhbHJlYWR5IHNldCB0aGUgcHJveHkgc2VydmVyIHRoZW4g IkJ5cGFzcyBwcm94eSBmb3IgbG9jYWxob3N0IgorICAgIC8vIG9wdGlvbnMg aXMgcmVxdWlyZWQgdG8gZW5hYmxlIHRvIG1ha2UgdGhlIGFwcGxpY2F0aW9u IHdvcmtpbmcuCisgICAgUU5ldHdvcmtQcm94eUZhY3Rvcnk6OnNldFVzZVN5 c3RlbUNvbmZpZ3VyYXRpb24oZmFsc2UpOworCiAgICAgLy8gR28hCiAgICAg c3BsYXNoLT5maW5pc2goTlVMTCk7CiAgICAgcmV0dXJuIGFwcC5leGVjKCk7 Cg== --94eb2c11ad18630d5b054fcd6927 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers --94eb2c11ad18630d5b054fcd6927--