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("'", "'");
|
|
}
|
|
}
|
|
}
|