aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/Server/DescriptionXmlBuilder.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Dlna/Server/DescriptionXmlBuilder.cs')
-rw-r--r--Emby.Dlna/Server/DescriptionXmlBuilder.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Dlna/Server/DescriptionXmlBuilder.cs b/Emby.Dlna/Server/DescriptionXmlBuilder.cs
index 3f3dfccd3..09525aae4 100644
--- a/Emby.Dlna/Server/DescriptionXmlBuilder.cs
+++ b/Emby.Dlna/Server/DescriptionXmlBuilder.cs
@@ -250,8 +250,7 @@ namespace Emby.Dlna.Server
url = _serverAddress.TrimEnd('/') + "/dlna/" + _serverUdn + "/" + url.TrimStart('/');
- // TODO: @bond remove null-coalescing operator when https://github.com/dotnet/runtime/pull/52442 is merged/released
- return SecurityElement.Escape(url) ?? string.Empty;
+ return SecurityElement.Escape(url);
}
private IEnumerable<DeviceIcon> GetIcons()