I have some url in Uri. How can i check if this url is part of some domain or subdomain.
Example:
URL:
http://www.example.com/something/index.apsx?lala=ddsadasd&dasdas=dsdas&dsdsd=ikpi&das=asd
allowed:
http://www.example.com/something/
not aloowed:
http://www.example.com/some/
if URL is in allowed domain then code continue executing.