mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-08 07:06:09 +00:00
update subtitle escaping
This commit is contained in:
1 parent
f6dcef0cfd
commit
1f1f7642c3
8 files changed
+33
-18
No files matched your search
@@ -765,6 +765,11 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
}
|
||||
}
|
||||
|
||||
public string EscapeSubtitleFilterPath(string path)
|
||||
{
|
||||
return path.Replace('\\', '/').Replace(":/", "\\:/").Replace("'", "'\\\\\\'");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user