diff options
author | Michal Čihař <mcihar@novell.com> | 2011-01-28 15:13:22 +0300 |
---|---|---|
committer | Michal Čihař <mcihar@novell.com> | 2011-01-28 15:22:41 +0300 |
commit | dc0c6938b284489acc4b13f6a023c44828b9457c (patch) | |
tree | c2fbbe62b568aaafb958afc1e6ded2b2e69f12fe /themes.php | |
parent | 87b0c3074722f4e64c03343145c65a8256227623 (diff) |
[security] Redirect external links to avoid Referer leakage.
Diffstat (limited to 'themes.php')
-rw-r--r-- | themes.php | 2 |
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(); ?> |