From 828a9b7c75bbe79c8591c785745851e824589d11 Mon Sep 17 00:00:00 2001 From: BaronGreenback Date: Sun, 17 Jan 2021 23:30:56 +0000 Subject: [PATCH] rollback --- Emby.Dlna/PlayTo/TransportCommands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Emby.Dlna/PlayTo/TransportCommands.cs b/Emby.Dlna/PlayTo/TransportCommands.cs index 42027b5af7..3cf4b810d3 100644 --- a/Emby.Dlna/PlayTo/TransportCommands.cs +++ b/Emby.Dlna/PlayTo/TransportCommands.cs @@ -176,12 +176,12 @@ namespace Emby.Dlna.PlayTo if (state != null) { var sendValue = state.AllowedValues.FirstOrDefault(a => string.Equals(a, commandParameter, StringComparison.OrdinalIgnoreCase)) ?? - (state.AllowedValues.Count > 0 ? state.AllowedValues[0] : SecurityElement.Escape(value)); + (state.AllowedValues.Count > 0 ? state.AllowedValues[0] : value); return string.Format(CultureInfo.InvariantCulture, "<{0} xmlns:dt=\"urn:schemas-microsoft-com:datatypes\" dt:dt=\"{1}\">{2}", argument.Name, state.DataType ?? "string", sendValue); } - return string.Format(CultureInfo.InvariantCulture, "<{0}>{1}", argument.Name, SecurityElement.Escape(value)); + return string.Format(CultureInfo.InvariantCulture, "<{0}>{1}", argument.Name, value); } } }