Ticket #2082 (new bug)
OpenLayers.Util.isEquivalentUrl Gives False Positives in IE6
|Reported by:||rod||Owned by:|
In IE6, the pathname of an anchor element when set by a relative URL is blank. eg...
var a = document.createElement( 'a' ); a.href = '../../file.txt'; alert( a.pathname ); // a.pathname ==
This was being used in OpenLayers.Util.isEquivalentUrl() returning false positives if both URL's were relative. I've attached a path with a new function to create the pathname if it's missing, working around the problem.