Fix URL escaping