Skip to content

Commit

Permalink
fix: nothing fix, it's just look
Browse files Browse the repository at this point in the history
  • Loading branch information
8MiYile committed Dec 2, 2023
1 parent 3825069 commit 755c155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function getRedirect($params) {
$protocol = ( isset( $_SERVER[ 'HTTPS' ] ) && $_SERVER[ 'HTTPS' ] === 'on' ? 'https' : 'http' ) ;
switch($type){
case 'plus':
return "$protocol://$_SERVER[HTTP_HOST]/$in_string$_SERVER[REQUEST_URI]";
return "$protocol://$_SERVER[HTTP_HOST]/$in_string/$_SERVER[REQUEST_URI]";
case 'minus':
return "$protocol://$_SERVER[HTTP_HOST]/" . ltrim($_SERVER['REQUEST_URI'], "/$in_string");
case 'replace':
Expand Down

0 comments on commit 755c155

Please sign in to comment.