A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Hi.
Is it possible to check whether a ContentReference is pointing to published / expired content or will I need to load the content to check?
The usecase here is that via the administration, the editors can choose links on a page which will be written via the Html.ContentLink(reference) extension.
But I noticed that if the editor expires content, the link will still be created (and give a 404).
Is it possible to check without loading the content?
Regards