If a page redirects to itself, your Web Browser will detect this and stop processing the page. As a web crawler should only visit each unique URI once, it too should not be affected by an infinitely looping page.