Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 313606

Summary: [Net] ProxyService does not return exceptions defined in "Do not use proxy server for addresses beginning with"
Product: [Eclipse Project] Platform Reporter: Adrian Pang <myhomeemailaddress>
Component: TeamAssignee: Platform Team Inbox <platform-team-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pawel.pogorzelski1
Version: 3.4.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Adrian Pang CLA 2010-05-19 15:02:52 EDT
Build Identifier: M20090211-1700

If the user defined manual exceptions in Internet Options, proxy service should return the exceptions so applications can make sure of them.  Currently, this setting seems to get ignored.

Looking at the implementation of ProxyManager, it seems to always return localhost and 127.0.0.1, and WindowsProxyProvider doesn't seem to override getNonProxiedHosts, so that information is not available to the users.

Reproducible: Always

Steps to Reproduce:
1. In Internet options, Connections > LAN Settings, check "Use a proxy server for LAN (These settings will not apply to dial-up or VPN connections), and fill out the proxy server.  Click on Advanced.
2. In the "Exceptions" area, enter a few exceptions
3. In Eclipse, try getting non proxied hosts from IProxyService; also, try getting proxydata for one of the servers defined in step 2.  It seems like the setting is ignored.
Comment 1 Pawel Pogorzelski CLA 2010-05-20 07:26:07 EDT
It's already FIXED, along with bug 255616.