It is possible for the URL to have a hash in it (for example, when clicking on the "Back to Top" link), so this is correct.