Properly sanitize UUIDs in request URLs