Use correct url encoding method