PC Review


Reply
Thread Tools Rate Thread

autoproxy incorrectly handled

 
 
mazikhan
Guest
Posts: n/a
 
      21st Jan 2004
In the process of trying to resolve an issue that we were
having in reaching an internet address, I seem to have run
into a bug in the way IE handles a particular function.
The problem is as described below:

our local domains are say different flavors of xyz.com
in the autoproxy.pac script, we have the following lines:
if (dnsDomainIs(host, ".xyz.com")) return "DIRECT";
return "PROXY proxy.xyz.com:80";

Everything works fine until we get to something of the
sort:
http://www.xyz.com.abc.com/

This is obviously not an xyz.com domain. It appears,
however, that IE's flavor of dnsDomainIs() has a bug in
that it is looking for "xyz.com" anywhere in the host
string, instead of making sure that only "xyz.com"
and "*.xyz.com" match. I have checked the same autoproxy
script using Mozilla and Netscape browsers, and all works
fine. This is an IE only bug that is fixed when I change
the above expression to:
if (shExpMatch(host, "xyz.xom) || shExpMatch
(host, "*.xyz.com")) return "DIRECT";
This is the way that you would expect dnsDomainIs() to
work, so I can only conclude that the method has been
incorrectly implemented in IE.

Regards,
Mazi.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Edit With Primalscript" Context Menu option handled incorrectly Steve P12 Security and Anti-Spyware Community 1 1st Feb 2005 06:53 PM
how are LOG files handled in ie? davexnet02 Windows XP General 2 14th Oct 2004 11:05 PM
e.Handled and F10 Amos Soma Microsoft C# .NET 1 25th Sep 2004 11:52 AM
autoproxy interpretation bug in IE =?Utf-8?B?bWF6aWtoYW4=?= Microsoft Windows 2000 Networking 0 21st Jan 2004 06:56 PM
KeyPressEventArgs.Handled vs KeyEventArgs.Handled Houston Keach Microsoft Dot NET Compact Framework 4 17th Nov 2003 03:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:44 AM.