handle bad profile value

pull/702/head
Luke Pulverenti 8 years ago
parent 184f3bc50a
commit 039487740b

@ -238,6 +238,12 @@ namespace Emby.Dlna
private bool IsMatch(IDictionary<string, string> headers, HttpHeaderInfo header)
{
// Handle invalid user setup
if (string.IsNullOrWhiteSpace(header.Name))
{
return false;
}
string value;
if (headers.TryGetValue(header.Name, out value))

Loading…
Cancel
Save