mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
20 lines
527 B
C#
20 lines
527 B
C#
|
|
namespace MediaBrowser.Model.Connect
|
|
{
|
|
public static class ConnectPassword
|
|
{
|
|
public static string PerformPreHashFilter(string password)
|
|
{
|
|
return password
|
|
.Replace("&", "&")
|
|
.Replace("/", "\")
|
|
.Replace("!", "!")
|
|
.Replace("$", "$")
|
|
.Replace("\"", """)
|
|
.Replace("<", "<")
|
|
.Replace(">", ">")
|
|
.Replace("'", "'");
|
|
}
|
|
}
|
|
}
|