Ticket #3408 (closed bug: fixed)
OpenLayers.Util.getParameters deals with empty string incorrectly
|Reported by:||greid||Owned by:|
The function OpenLayers.Util.getParameters is defined to use the window's current location for extracting parameters if the optional url parameter is not supplied. However, the check for the url parameter doesn't correctly deal with an empty string given as a parameter (which is something that I have experienced when this function is called by isEquivalentUrl via createUrlObject). The end result is that url parameters come out of nowhere and affect the URL object creation and url equivalency check.
This bug is present at least from 2.10 (but probably earlier) up to and including SVN revision 12167 (HEAD at the time of writing this).