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

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2015-10-23 13:50:04 +0300
committerMarc Delisle <marc@infomarc.info>2015-10-23 13:50:04 +0300
commitcd097656758f981f80fb9029c7d6b4294582b706 (patch)
treea900d6b38ddfc9132ffd5bbc80f96a11074ce98d /url.php
parent95b5d9adf4bcc84954685d766d89d7937ced13af (diff)
Port content spoofing fix
Signed-off-by: Marc Delisle <marc@infomarc.info>
Diffstat (limited to 'url.php')
-rw-r--r--url.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/url.php b/url.php
index eec78a52b1..9c4c8846b6 100644
--- a/url.php
+++ b/url.php
@@ -32,6 +32,7 @@ if (! PMA_isValid($_REQUEST['url'])
}
</script>";
// Display redirecting msg on screen.
- printf(__('Taking you to %s.'), htmlspecialchars($_REQUEST['url']));
+ // Do not display the value of $_REQUEST['url'] to avoid showing injected content
+ echo __('Taking you to the target site.');
}
die();