validates URI