Menu

#2881 (ok 3.2.1) Login with ipv6 IP address breaks redirect

Latest_Git
fixed
None
1
2013-06-11
2009-05-31
No

When logging into phpmyadmin at an ipv6 IP address, the redirect upon login mangles the URL. Specifically, it does the following:
http://\[2001:470:e130:f001::f001]/phpmyadmin will redirect to
http://\[2001:470/phpmyadmin//index.php?token={blahblahblah}
If the correct IP address (and required enclosing brackets) is restored and the page loaded (presuming correct login credentials were submitted), phpmyadmin works correctly thereafter. It is ONLY the processing of the URL for redirection immediately following a login attempt that exhibits this error. My guess is that the URL parsing is keying off the first colon found, expecting that what follows is a port number.

Discussion

  • Herman van Rink

    Herman van Rink - 2009-05-31

    Confirmed.

    As a temporary fix $cfg['PmaAbsoluteUri'] could be set to avoid this problem.
    A fix is in the making, but needs a little more testing.

     
  • Herman van Rink

    Herman van Rink - 2009-05-31
    • milestone: --> Latest_Git
    • assigned_to: nobody --> helmo
     
  • Herman van Rink

    Herman van Rink - 2009-05-31

    Fixed in subversion, thanks for reporting.

     
  • Herman van Rink

    Herman van Rink - 2009-05-31
    • priority: 5 --> 1
    • summary: Login with ipv6 IP address breaks redirect --> (ok 3.2.1) Login with ipv6 IP address breaks redirect
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2009-08-09
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed
     
MongoDB Logo MongoDB