Skip to content

Commit

Permalink
Merge pull request #422 from seasoftjapan/20200915
Browse files Browse the repository at this point in the history
SC_Response::sendRedirect() 第2引数のURLエンコード漏れを修正
  • Loading branch information
okazy authored Nov 10, 2020
2 parents c79a9a5 + 71df6ed commit 265496b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion data/class/SC_Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ public static function sendRedirect($location, $arrQueryString = array(), $inher
$netUrl->querystring = array_merge($netUrl->querystring, $arrQueryStringBackup);
}

$netUrl->querystring = array_merge($netUrl->querystring, $arrQueryString);
foreach ($arrQueryString as $name => $value) {
$netUrl->addQueryString($name, $value);
}

$session = SC_SessionFactory_Ex::getInstance();
if ((SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE)
Expand Down

0 comments on commit 265496b

Please sign in to comment.