302 redirect to root of domain issue

axel50397

Member
Feb 6, 2012
16
1
53
cPanel Access Level
Root Administrator
Hi there,

This is the first time we're experiencing this issue, and I don't know if it's cpanel's apache related (an included config), or if it's PHP's fault, or admin's... When a query value is "<=" or ">=" or even "@<<", the browser gets a 302 redirect to the root of the domain...

Here are the tested queries:

  • ?foo=%3c (OK)
  • ?foo=%3e (OK)
  • ?foo=%3c%3c (KO)
  • ?foo=%3e%3e (KO)
  • ?foo=%3d%3c (OK)
  • ?foo=%3c%3d (KO)

Any idea please?
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Hello,

Could you let us know the steps we can take to reproduce this issue? Is this isolated to a specific PHP application?

Thank you.
 

axel50397

Member
Feb 6, 2012
16
1
53
cPanel Access Level
Root Administrator
Hi,
Thanks for your answer. I wanted to dig a little further to isolate the issue. Actually, it's a ModSecurity features...

So it's now fixed, thanks.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
I'm happy to see you were able to address the issue. Thank you for updating us with the outcome.