Hi,
I upgraded to Magnolia 6.2.28 from 5.4.8. Everything worked, except one issue. One file in the light module has simple HTML POST form that submits to my custom Servlet that is configured in server/filters/servlets/FormServlet. In 5.4.8 everything works fine and the code in my Servlet is executed. In 6.2.28 when I do the same I see the following in the log:
2023-02-20 10:50:24,164 WARN info.magnolia.cms.security.CsrfTokenFilterBase : Possible CSRF Attack. CSRF token not set while user 'anonymous' attempted to access url '/ProcessForm' and 403 forbidden returned to the browser.
The code in my servlet is not executed. According to documentation only ./magnoilia is subject to CSRF filter and it is not part of my POST url. How do I submit POST form from light module in Magnolia 6.2.28.
Thanks,
Dimitri
--
You received this message because you are subscribed to the Google Groups "Magnolia User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to user-list+...@magnolia-cms.com.
To view this discussion on the web, visit https://groups.google.com/a/magnolia-cms.com/d/msgid/user-list/606d05b6-c89f-4321-a1eb-922b2a028f5an%40magnolia-cms.com.