Commit 66c623a 1 parent 54a9c85 commit 66c623a Copy full SHA for 66c623a
File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -381,7 +381,6 @@ protected function actionLoginSuccessRedirect($urlKey = '')
381
381
Yii::$ service ->session ->remove ($ this ::USER_LOGIN_SUCCESS_REDIRECT_URL_KEY );
382
382
//echo Yii::$service->session->get($this::USER_LOGIN_SUCCESS_REDIRECT_URL_KEY);
383
383
//exit;
384
- $ url = urldecode ($ url );
385
384
return Yii::$ service ->url ->redirect ($ url );
386
385
} else if ($ urlKey ) {
387
386
return Yii::$ service ->url ->redirectByUrlKey ($ urlKey );
Original file line number Diff line number Diff line change @@ -115,8 +115,7 @@ protected function actionRemoveRewriteUrlKey($url_key)
115
115
public function getCurrentUrl ()
116
116
{
117
117
if (!$ this ->_currentUrl ) {
118
- $ pageURL = '// ' ;
119
- $ pageURL .= $ _SERVER ['SERVER_NAME ' ] . $ _SERVER ['REQUEST_URI ' ];
118
+ $ pageURL = $ this ->getBaseUrl () . $ _SERVER ['REQUEST_URI ' ];
120
119
$ this ->_currentUrl = $ pageURL ;
121
120
}
122
121
You can’t perform that action at this time.
0 commit comments