Bug 325483

Summary: [Net] Inconsistent behavior of IProxyService for different providers
Product: [Eclipse Project] Platform Reporter: Wojciech Galanciak <wojciech.galanciak>
Component: TeamAssignee: Platform Team Inbox <platform-team-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: julien.henry, Szymon.Brandys
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Wojciech Galanciak CLA 2010-09-16 11:34:25 EDT
Here is a part of test for bug 247408 (org.eclipse.core.tests.net.NetTest.testBug247408()):
IProxyData data3 = this.getProxyManager().getProxyDataForHost("randomhost.com", null);
IProxyData[] data4 = this.getProxyManager().select(new URI(null, "randomhost.com", null, null));
assertNull(data3);
assertEquals(data4.length, 0);

It will be passed for manual provider but if we change provider to native (system proxy setting are the same as manual) both assertions will fail. This is true at least for Windows environment. The reason of that behavior is that if we pass URI with null scheme (e.g. \\randomhost.com) to WindowsProxyProvider#select(uri) it will return proxy settings for all schemes.
I think that this behavior should be unified.
Comment 1 Eclipse Webmaster CLA 2019-09-06 15:32:08 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.