Permalink
Browse files

Link unescaped URL

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1252 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
1 parent 294b10b commit ecb56e6ff54bd1bcacf1b5dc676299e1d73274bd jakubvrana committed Nov 26, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 adminer/select.inc.php
@@ -234,8 +234,8 @@
if (!$link && is_email($val)) {
$link = "mailto:$val";
}
- if (!$link && is_url($val)) {
- $link = "http://www.adminer.org/redirect/?url=" . urlencode($val); // intermediate page to hide Referer
+ if (!$link && is_url($row[$key])) {
+ $link = "http://www.adminer.org/redirect/?url=" . urlencode($row[$key]); // intermediate page to hide Referer
}
$val = $adminer->selectVal($val, $link, $field);
echo "<td>$val";

0 comments on commit ecb56e6

Please sign in to comment.