mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 10:29:01 -07: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("'", "'");
|
|
}
|
|
}
|
|
}
|