Vulnerability in EPiServer.Forms
I wanted to fetch the URL of image uploaded in CMS with Filename without using CMS property.
Kindly let me know the way to retrieve.
I am using EPiServer CMS 7.5
Try something like this.
var mediaContent = _contentRepository.Get<IContent>(contentLink);
var directDownloadUrl = mediaContent.DownloadUrl();