mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
fixed error if get parameter has no equal sign, eg. /some/url?download
This commit is contained in:
parent
344bd88e4a
commit
26f54eb8ce
@ -285,7 +285,7 @@ egw.extend('links', egw.MODULE_GLOBAL, function() {
|
||||
{
|
||||
var name_val = _extravars[i].split('=',2);
|
||||
var name = name_val[0];
|
||||
var val = name_val[1];
|
||||
var val = name_val[1] || '';
|
||||
if (val.indexOf('%26') != -1) val = val.replace(/%26/g,'&'); // make sure to not double encode &
|
||||
if (name.lastIndexOf('[]') == name.length-2)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user