Expand my Community achievements bar.

SOLVED

Access denied for Sling servlet ajax call via htl in Touch ui

Avatar

Level 3

Hi Everyone,

I have a ajax call (type =post)to Sling servlet via htl for a component , In classic ui Ajax call is working fine,  when I do the same call from Touch ui console, its showing me Invalid url access denied for the servlet path, am I missing something over here , did anyone face this ,Can someone please help me. Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Level 3

It's happening because of post method set up in this config com.adobe.granite.csrf.impl.CSRFFilter, removing post from this filter resolved this currently

View solution in original post

2 Replies

Avatar

Correct answer by
Level 3

It's happening because of post method set up in this config com.adobe.granite.csrf.impl.CSRFFilter, removing post from this filter resolved this currently