Ticket #2082 (new bug)
OpenLayers.Util.isEquivalentUrl Gives False Positives in IE6
| Reported by: | rod | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 2.13 Release |
| Component: | Util | Version: | SVN |
| Keywords: | Cc: | ||
| State: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

