Changed URL passed to be encoded