Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/decorators/RedirectUrlDecorator.php')
-rw-r--r--src/decorators/RedirectUrlDecorator.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decorators/RedirectUrlDecorator.php b/src/decorators/RedirectUrlDecorator.php
index beff430c..cfb2570d 100644
--- a/src/decorators/RedirectUrlDecorator.php
+++ b/src/decorators/RedirectUrlDecorator.php
@@ -36,7 +36,7 @@ class RedirectUrlDecorator extends Decorator
$varvalue = Decorator::value_url($value, $fields);
if ('subject' === $varname) {
- $url = '/' . \str_replace('redirect?', 'redirect/' . $varvalue . '?', $url);
+ $url = \str_replace('redirect?', 'redirect/' . $varvalue . '?', $url);
} else {
$url .= $sep . $varname . '=' . $varvalue;
}
@@ -46,7 +46,7 @@ class RedirectUrlDecorator extends Decorator
}
if ('' !== containerInstance()->subFolder && (0 === \mb_strpos($url, '/')) && (false === \mb_strpos($url, \containerInstance()->subFolder))) {
- $url = \str_replace('//', '/', \containerInstance()->subFolder . '/' . $url);
+ // $url = \str_replace('//', '/', \containerInstance()->subFolder . '/' . $url);
}
return \str_replace('.php', '', $url);