PC Review


Reply
Thread Tools Rate Thread

autoproxy interpretation bug in IE

 
 
=?Utf-8?B?bWF6aWtoYW4=?=
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
Interpretation =?Utf-8?B?TSZN?= Microsoft Excel Misc 2 14th Jul 2007 12:00 PM
autoproxy incorrectly handled mazikhan Windows XP Internet Explorer 0 21st Jan 2004 06:45 PM
Need interpretation JMay Microsoft Excel Programming 2 12th Nov 2003 01:55 PM
interpretation please Bob Windows XP Networking 3 11th Nov 2003 09:30 PM
value interpretation solo_razor Microsoft Excel Programming 1 6th Nov 2003 02:44 PM


Features
 

Advertising
 

Newsgroups
 


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