Bug 325483 - [Net] Inconsistent behavior of IProxyService for different providers
Summary: [Net] Inconsistent behavior of IProxyService for different providers
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform Team Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 11:34 EDT by Wojciech Galanciak CLA
Modified: 2019-09-06 15:32 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.