Escaping / and allowing empty string