mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-24 22:06:59 +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("&",
|
||||
query.AllKeys
|
||||
.Where(key => key != null)
|
||||
.Where(key => !string.IsNullOrWhiteSpace(key))
|
||||
.Select(key => $"{key}={query[key]}")
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user