Calyptus.Mvc.PathStack.Decode C# (CSharp) Method

Decode() protected method

protected Decode ( string path ) : string
path string
return string
		protected string Decode(string path)
		{
			path = HttpUtility.UrlDecode(path);

			for (int i = 0; i < _specialChars.Length; i++)
			{
				char c = _specialChars[i];
				string ce = ((int)c).ToString("x");
				path = path.Replace('!' + ce, c.ToString());
			}
			return path.Replace("!21", "!");
		}