Fix query log for real

This commit is contained in:
Claus Vium 2019-02-27 20:11:40 +01:00
parent 647adc51c8
commit c0b95dbc79

View File

@ -321,7 +321,7 @@ namespace Emby.Server.Implementations.HttpServer
string pagePathWithoutQueryString = url.Split(new[] { '?' }, StringSplitOptions.RemoveEmptyEntries)[0];
return newQueryString.Count > 0
? $"{pagePathWithoutQueryString}?{newQueryString.Select(value => value.Key + " = " + string.Join(", ", value.Value))}"
? $"{pagePathWithoutQueryString}?{string.Join("&", newQueryString.Select(value => value.Key + " = " + string.Join(", ", value.Value)))}"
: pagePathWithoutQueryString;
}