handle bad profile value
This commit is contained in:
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…
Reference in New Issue
Block a user