Take out extra space in route
Handle https URLs