Removing dead code
Removing url_ends_with_slash