103
103
//Remove sessions id's from path
106
path = Regex.Replace(path, @"(PHPSESSID|s)=[a-z0-9]{32}(&|&)*", String.Empty, RegexOptions.IgnoreCase);
106
path = Regex.Replace(path, @"(PHPSESSID|s|ses)=[a-z0-9]{32}(&|&)*", String.Empty, RegexOptions.IgnoreCase);
107
107
path = path.TrimEnd(new char[] {'&', '?'});
108
108
if (path.LastIndexOf("&") == (path.Length - 5))