Expand my Community achievements bar.

SOLVED

query param blocking by dispatcher

Avatar

Level 1

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

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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-c...

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

 

Thanks,

Nikita Garg

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

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-c...

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

 

Thanks,

Nikita Garg

Avatar

Community Advisor

@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