query param blocking by dispatcher | Community
Skip to main content
March 13, 2024
Solved

query param blocking by dispatcher

  • March 13, 2024
  • 3 replies
  • 891 views

Hi Team,

 

I have URL which is working fine in author and URL contains the query parameter called sid below is URL

https://dauthor-xyz.com/content/testing/us/en/test-tour.html?wcmmode=disabled&sid=4e9daa08-46c1

 

but same URL not working on publisher because we have dispatcher configured for publisher

 

can some one help me how i can allow query parameter from dispatcher rule configuration.

 

Regards

Manikantha R

 

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

Hi @manikanthara ,

 

You can always refer dispatcher.log file to check whether any rule is blocking the request. however to allow some query param you can write

 

/1001 { /type "allow" /method "GET" /url "/content/testing/us/en/test-tour" /query "sid=*" }

 

For dispatcher rules in details you can refer https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/dispatcher-configuration.html?lang=en#defining-a-filter

https://medium.com/@toimrank/aem-dispatcher-filter-section-a8c03a92c256

 

Thanks,

Nikita Garg

3 replies

Nikita___GargAdobe EmployeeAccepted solution
Adobe Employee
March 13, 2024

Hi @manikanthara ,

 

You can always refer dispatcher.log file to check whether any rule is blocking the request. however to allow some query param you can write

 

/1001 { /type "allow" /method "GET" /url "/content/testing/us/en/test-tour" /query "sid=*" }

 

For dispatcher rules in details you can refer https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/dispatcher-configuration.html?lang=en#defining-a-filter

https://medium.com/@toimrank/aem-dispatcher-filter-section-a8c03a92c256

 

Thanks,

Nikita Garg

AMANATH_ULLAH
Community Advisor
Community Advisor
March 13, 2024

@manikanthara 

Can you confirm if you are getting the same value for the query params each time

In that case the query parameters are getting cached in dispatcher

If thats the case then check /ignoreUrlParams section of dispacher.any file if it has any rules defined like:

/ignoreUrlParams
{
/0001 { /glob "*" /type "deny" }
/0002 { /glob "q" /type "allow" }
}

Please provide more details if you are getting any specific error

Amanath Ullah
Harwinder-singh
Community Advisor
Community Advisor
March 13, 2024

@manikanthara  You need to check your dispatcher configurations wrt allowing query parameters.

https://medium.com/@toimrank/aem-dispatcher-filter-section-a8c03a92c256