mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 19:08:53 -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("'", "'");
|
|
}
|
|
}
|
|
}
|