Properly process bad hash in url [#9]