do not accept enclosure links without type. fixes #2