Is Canada Post discriminating against Linux?

John Vetterli jvetterli-zC6tqtfhjqE at public.gmane.org
Sun Mar 27 03:39:39 UTC 2005


On Sat, 26 Mar 2005, Paul King wrote:
> In their JavaScript (see below), I did in fact see the following JavaScript
> code. As you can see below, LinuxElf2.2 is taken into account. It appears that
> you just need a Netscape browser.
> this.redirectURL = p_sRedirectURL;
> 	this.compatibilityMatrix = new Array();
> 	this.HP_UX = "HP-UX"; //HP Unix-based machines.
> 	this.MacPPC =  "MacPPC" ; //Macintosh PowerPC-based machines.
> 	this.Mac68K = "Mac68K"; //Macintosh 68K-based machines.
> 	this.SunOS = "SunOS"; //Solaris-based machines.
> 	this.Win32 = "Win32"; //Windows 32-bit platform.
> 	this.Win16 = "Win16"; //Windows 16-bit platform.
> 	this.WinCE = "WinCE"; //Windows CE platform.
> 	this.LinuxELF2 = "LinuxELF2.2"; // Linux ELF 2.2 platform
> 	this.OS = new Array(this.HP_UX,
> 		this.MacPPC,
> 		this.Mac68K,
> 		this.SunOS,
> 		this.Win32,
> 		this.Win16,
> 		this.WinCE,
> 		this.LinuxELF2);
> 	this.MSIE = "Microsoft Internet Explorer";
> 	this.Netscape = "Netscape";
> 	this.appName = new Array(this.MSIE, this.Netscape);

I was looking at this section of the code:

oBC.addConfigurationToMatrix("Win32", "Microsoft Internet Explorer", 
"5.5");
oBC.addConfigurationToMatrix("Win32", "Microsoft Internet Explorer", 
"5.0");
oBC.addConfigurationToMatrix("Win32", "Microsoft Internet Explorer", 
"6.0");
oBC.addConfigurationToMatrix("Win32", "Netscape", "4.7");
oBC.addConfigurationToMatrix("Win32", "Netscape", "4.8");
oBC.addConfigurationToMatrix("Win32", "Netscape", "6.1");
oBC.addConfigurationToMatrix("Win32", "Netscape", "6.2");
oBC.addConfigurationToMatrix("MacPPC", "Microsoft Internet Explorer", 
"5.5");
oBC.addConfigurationToMatrix("MacPPC", "Microsoft Internet Explorer", 
"5.0");
oBC.addConfigurationToMatrix("MacPPC", "Netscape", "4.7");
oBC.addConfigurationToMatrix("MacPPC", "Netscape", "4.8");
oBC.addConfigurationToMatrix("MacPPC", "Netscape", "6.1");
oBC.addConfigurationToMatrix("MacPPC", "Netscape", "6.2");
oBC.addConfigurationToMatrix("Mac68K", "Microsoft Internet Explorer", 
"5.5");
oBC.addConfigurationToMatrix("Mac68K", "Microsoft Internet Explorer", 
"5.0");
oBC.addConfigurationToMatrix("Mac68K", "Netscape", "4.7");
oBC.addConfigurationToMatrix("Mac68K", "Netscape", "4.8");
oBC.addConfigurationToMatrix("Mac68K", "Netscape", "6.1");
oBC.addConfigurationToMatrix("Mac68K", "Netscape", "6.2");

Admittedly, I only took a brief look; I only assumed that a configuration 
needs to be added using oBC.addConfigurationToMatrix to be accepted.

JV
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list