Link unescaped URL
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1252 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
294b10b40c
commit
ecb56e6ff5
|
@ -234,8 +234,8 @@ if (!$columns) {
|
||||||
if (!$link && is_email($val)) {
|
if (!$link && is_email($val)) {
|
||||||
$link = "mailto:$val";
|
$link = "mailto:$val";
|
||||||
}
|
}
|
||||||
if (!$link && is_url($val)) {
|
if (!$link && is_url($row[$key])) {
|
||||||
$link = "http://www.adminer.org/redirect/?url=" . urlencode($val); // intermediate page to hide Referer
|
$link = "http://www.adminer.org/redirect/?url=" . urlencode($row[$key]); // intermediate page to hide Referer
|
||||||
}
|
}
|
||||||
$val = $adminer->selectVal($val, $link, $field);
|
$val = $adminer->selectVal($val, $link, $field);
|
||||||
echo "<td>$val";
|
echo "<td>$val";
|
||||||
|
|
Loading…
Reference in a new issue