mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
Remove whitespace only keys from query string
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
This commit is contained in:
parent
a888ed9274
commit
16ce163e7f
@ -398,7 +398,7 @@ namespace XenAdmin.Actions
|
|||||||
|
|
||||||
queryString = string.Join("&",
|
queryString = string.Join("&",
|
||||||
query.AllKeys
|
query.AllKeys
|
||||||
.Where(key => key != null)
|
.Where(key => !string.IsNullOrWhiteSpace(key))
|
||||||
.Select(key => $"{key}={query[key]}")
|
.Select(key => $"{key}={query[key]}")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user