ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 2531


Ignore:
Timestamp:
Apr 10, 2007, 10:00:05 PM (12 years ago)
Author:
takanashi
Message:

#566 ログイン画面がSSLの場合ログイン後のリダイレクト先が保存されないバグを修正

Location:
OpenPNE/branches/2_8/webapp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/2_8/webapp/lib/auth.inc

    r2122 r2531  
    2222        $_REQUEST['target_script'] = array_pop($parts);
    2323        $_REQUEST['login_params'] = $_SERVER['QUERY_STRING'];
     24        if ($_SERVER['REQUEST_METHOD'] == 'POST') {
     25            $_POST = array('login_params' => $_SERVER['QUERY_STRING']);
     26        } else {
     27            $_GET = array('login_params' => $_SERVER['QUERY_STRING']);
     28        }
    2429        openpne_forward('pc', 'page', "o_login");
    2530        exit;
  • OpenPNE/branches/2_8/webapp/modules/ktai/auth.inc

    r1856 r2531  
    7272    }
    7373    $_REQUEST['login_params'] = $_SERVER['QUERY_STRING'];
     74    if ($_SERVER['REQUEST_METHOD'] == 'POST') {
     75        $_POST = array('login_params' => $_SERVER['QUERY_STRING']);
     76    } else {
     77        $_GET = array('login_params' => $_SERVER['QUERY_STRING']);
     78    }
    7479    openpne_forward('ktai', 'page', 'o_login');
    7580    exit;
Note: See TracChangeset for help on using the changeset viewer.