Access denied for Sling servlet ajax call via htl in Touch ui | Community
Skip to main content
sai111
Level 2
Jan 29, 2019 9:59 AM UTC
Solved

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

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
sai111
sai111Accepted solution
Level 2
Jan 29, 2019 11:23 AM UTC

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

2 replies

sai111
sai111AuthorAccepted solution
Level 2
Jan 29, 2019 11:23 AM UTC

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

Translate
Feike_Visser1
Employee
Jan 29, 2019 10:54 AM UTC

can you share some code?

Translate