Improved the check that ensures the crawler does not request resources outside the application