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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,127
    Likes Received:
    1,366
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,127
    Likes Received:
    1,366
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I'm happy to see you were able to address the issue. Thank you for updating us with the outcome.
     
Loading...

Share This Page