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.
We are using the VirtualPathProvider stuff to get a files uploaded by the editor of a site, using File Manager.
We will have a folder per site in out Enterprise installation og EPiServer.
What I would like to be able to do is auto create the folder if it is not there. I have some code to do this but it seems a little flaky and I doubt the right permissions will be set.
I am using this code
Does anyone have a better idea?
Thanks
Pat Long