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:
    1
    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:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. axel50397

    axel50397 Member

    Joined:
    Feb 6, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page