A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
Culture gets lost and reset to master language when I call conrtoller's action (both with ajax and without ajax). The links below helps to fix issue on ajax call but I am getting this issue even when I do not use ajax. Also, it is very annoying to use attribute in all actions as explained in these articles.
https://world.episerver.com/forum/developer-forum/-Episerver-75-CMS/Thread-Container/2019/4/localizationculture-is-lost-upon-ajax-request/
https://stefanolsen.com/posts/ensuring-the-right-ajax-content-language-using-a-filter-attribute/
My controller action looks like below.