Fixing encoding issue for url path.