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:
authorMichal Čihař <mcihar@novell.com>2011-01-28 15:13:22 +0300
committerMichal Čihař <mcihar@novell.com>2011-01-28 15:22:41 +0300
commitdc0c6938b284489acc4b13f6a023c44828b9457c (patch)
treec2fbbe62b568aaafb958afc1e6ded2b2e69f12fe /themes.php
parent87b0c3074722f4e64c03343145c65a8256227623 (diff)
[security] Redirect external links to avoid Referer leakage.
Diffstat (limited to 'themes.php')
-rw-r--r--themes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes.php b/themes.php
index e58933fa4c..e4ad9f6fb7 100644
--- a/themes.php
+++ b/themes.php
@@ -38,7 +38,7 @@ function takeThis(what){
<body id="bodythemes">
<h1>phpMyAdmin - <?php echo __('Theme / Style'); ?></h1>
-<p><a href="http://www.phpmyadmin.net/home_page/themes.php#pma_<?php echo preg_replace('/([0-9]*)\.([0-9]*)\..*/', '\1_\2', PMA_VERSION); ?>"><?php echo __('Get more themes!'); ?></a></p>
+<p><a href="./url.php?url=http://www.phpmyadmin.net/home_page/themes.php#pma_<?php echo preg_replace('/([0-9]*)\.([0-9]*)\..*/', '\1_\2', PMA_VERSION); ?>"><?php echo __('Get more themes!'); ?></a></p>
<?php
$_SESSION['PMA_Theme_Manager']->printPreviews();
?>