sanitize url for couch1.5