rem: keyValue = pairs[i].split(/=/); if(keyValue.length == 2) { args[decodeURIComponent(keyValue[0])] = decodeURIComponent(keyValue[1]); 
add: keyValue = pairs[i].split('='); if (keyValue[0]) { if (keyValue[1]) { args[decodeURIComponent(keyValue[0])] = decodeURIComponent(keyValue[1]); } else { args[decodeURIComponent(keyValue[0])] = ''; } 
context: OpenLayers.Util.getArgs = function(url) {    if(url == null) {        url = window.location.href;    }    var query = (url.indexOf('?') != -1) ? url.substring(url.indexOf('?') + 1)                                          : '';    var args = new Object();    pairs = query.split(/[&;]/);    for(var i = 0; i < pairs.length; ++i) {        keyValue = pairs[i].split(/=/);        if(keyValue.length == 2) {            args[decodeURIComponent(keyValue[0])] =                decodeURIComponent(keyValue[1]);        }    }    return args;}
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/385da5c614010725df2eb4bcb22fb32db0f9eaa2/Util.js/buggy/lib/OpenLayers/Util.js