Format attachment DeliveryURL with CultureInfo.InvariantCulture.

Co-Authored-By: Bond-009 <bond.009@outlook.com>
pull/1838/head
Andrew Mahone 5 years ago committed by GitHub
parent e5b65ed034
commit a78aec56e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -527,7 +527,9 @@ namespace MediaBrowser.Api.Playback
foreach (var attachment in mediaSource.MediaAttachments)
{
attachment.DeliveryUrl = string.Format("/Videos/{0}/{1}/Attachments/{2}",
attachment.DeliveryUrl = string.Format(
CultureInfo.InvariantCulture,
"/Videos/{0}/{1}/Attachments/{2}",
item.Id,
mediaSource.Id,
attachment.Index);

Loading…
Cancel
Save