Fix issue where passed parameters in url are getting truncated