Added function to transform URI in validated url