Closed Bug 16677 Opened 25 years ago Closed 24 years ago

nsIPluginManager::FindProxyForURL isn't aware of "bypass proxies for local addresses"

Categories

(Core Graveyard :: Plug-ins, defect, P3)

All
Other
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: edburns, Assigned: edburns)

References

Details

(Whiteboard: [nsbeta2-])

Attachments

(1 file)

This bug is an upshoot from bug
http://bugzilla.mozilla.org/show_bug.cgi?id=15607

The problem is that FindProxyForURL isn't aware of the "bypass proxies for
local hosts" feature.

However, I don't know how this relates to "auto-configuration".  Robert Yang,
could you please elaborate?

Thanks,

ed
Blocks: 15607
Under NS 4.7 proxy preferences one can observe the following :

1. Direct connection to internet.
2. Manual proxy connection.
3. Automatic proxy configuration URL.

Under item 2 (manual proxy configuration) there is a textbox for "Do not use
proxy servers for domains beginning with :"  This is the proxy exclusion list.
Addresses which begin with these names are not to be proxied.

Under item 3 (Automatic proxy configuration) there is a textbox for the URL of
a .pac file which contains javascript code as per the following :

http://home.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html

This code is then used to determine what the proxy is.  Please let me know if
more info is needed.
Depends on: 17158
Status: NEW → ASSIGNED
Created a new bug for this, and made 16677 depend on it.  17158
Shrirang is now QA owner for Plug-ins; QA assigning all of my Plug-ins bugs over
to him.
This is fairly important.  If this bug is not fixed, a corporate user can run
Java applets from outside their corporate network, but can't run any applets
originating internally!!
Nominating for nsbeta2+
Keywords: nsbeta2
Target Milestone: --- → M18
Putting on [nsbeta2-] radar. Not critical to beta2.  Adding "nsbeta3" keyword 
for consideration of a fix for that milestone. 
Keywords: nsbeta3
Whiteboard: [nsbeta2-]
ETA 22 July 2000 
Use user_pref("network.proxy.no_proxies_on", "arago.eng.sun.com, 
javaweb.eng.sun.com");
Test code:

  // debug: edburns: test: start
  char *proxy;
  rv = this->FindProxyForURL("http://javaweb.eng.sun.com/", &proxy);
  printf("+++++debug: edburns: javaweb.eng.sun.com: FindProxyForURL: %s\n",
         proxy);
  nsCRT::free(proxy);
  rv = this->FindProxyForURL("http://javaweb/", &proxy);
  printf("+++++debug: edburns: javaweb: FindProxyForURL: %s\n",
         proxy);
  nsCRT::free(proxy);
  rv = this->FindProxyForURL("http://javaweb.eng/", &proxy);
  printf("+++++debug: edburns: javaweb.eng: FindProxyForURL: %s\n",
         proxy);
  nsCRT::free(proxy);
  rv = this->FindProxyForURL("http://www.suck.com/", &proxy);
  printf("+++++debug: edburns: www.suck.com: FindProxyForURL: %s\n",
         proxy);
  nsCRT::free(proxy);
  // debug: edburns: test: end
av, I'm looking for a= and r= on this.  Thanks.
Checked in fix, marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
marking verified (rubberstamping)
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: