Example #1
0
        public bool IsInIgnoreList(string uriPrm)
        {
            //Ignore all
            if (IgnoredUriParameters.Trim() == "*")
            {
                return(true);
            }

            if (IgnoredUriParameters.Trim() == "")
            {
                return(false);
            }

            uriPrm = uriPrm.ToLower();
            string[] prms = IgnoredUriParameters.ToLower().Split('|');
            foreach (string prm in prms)
            {
                if (prm == uriPrm)
                {
                    return(true);
                }
            }

            return(false);
        }