Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

302 redirect to root of domain issue

Discussion in 'General Discussion' started by axel50397, Jul 5, 2016.

  1. axel50397

    axel50397 Member

    Joined:
    Feb 6, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    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?
     
    #1 axel50397, Jul 5, 2016
    Last edited: Jul 5, 2016
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,423
    Likes Received:
    1,959
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. axel50397

    axel50397 Member

    Joined:
    Feb 6, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    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.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,423
    Likes Received:
    1,959
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm happy to see you were able to address the issue. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice