AEM Forms triggering requests with jcr:content at submit time | Community
Skip to main content
August 24, 2021
Question

AEM Forms triggering requests with jcr:content at submit time

  • August 24, 2021
  • 2 replies
  • 904 views

Hi,

I'm working with AEM Forms in AEM 6.5.8 and at the time of submiting a form, the forms trigger requests with jcr:content instead of _jcr_content

 

POST /content/forms/af/.../jcr:content/guideContainer.af.internalsubmit.jsp

POST /content/forms/af/.../jcr:content/guideContainer.af.submit.jsp

 

These requests are causing issues since jcr:content is not allowed in the WAF rules.

 

Namespace Mangling in the Apache Sling Resource Resolver Factory is enabled. We found that the file that is creating these requests is GuideBridge.js

 

Does anyone know if there's a configuration missing?

 

Thanks in advance

Juan

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Pulkit_Jain_
Adobe Employee
Adobe Employee
August 25, 2021

@juanrafaelmaldo 

Are you submitting the form to a servlet? OOTB form submission will trigger requests with jcr:content only:

POST /content/forms/af/.../jcr:content/guideContainer.af.internalsubmit.jsp

POST /content/forms/af/.../jcr:content/guideContainer.af.submit.jsp

 

Namespace mangling [0] is enabled by default so configuration shouldn't be an issue. Are you using dispatcher with the set-up? Or is it not working OOTB? Please elaborate the use-case.

 

[0] - http://sling.apache.org/documentation/the-sling-engine/mappings-for-resource-resolution.html#namespace-mangling 

 

 

Mayank_Gandhi
Adobe Employee
Adobe Employee
August 26, 2021

@juanrafaelmaldo  This is working as expected. The request go to the submit handler via jcr:content only.