handle ghost path when searching for the homepage
handle invalid utf8 characters in the request uri
resolved merge conflict