Skip to content

Commit

Permalink
CS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Dec 3, 2024
1 parent c516f6e commit 94a6144
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions program/include/rcmail_oauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ public function get_redirect_uri()
// Get rid of the use_secure_urls token from the path
// It can happen after you log out that the token is still in the current request path
if ($len = $this->rcmail->config->get('use_secure_urls')) {
$length = $len > 1 ? $len : 16;
$url = preg_replace("~^/[0-9a-zA-Z]{{$length}}/~", '/', $url);
$length = $len > 1 ? $len : 16;
$url = preg_replace("~^/[0-9a-zA-Z]{{$length}}/~", '/', $url);
}

$url = rcube_utils::resolve_url($url);
Expand Down

0 comments on commit 94a6144

Please sign in to comment.