diff options
author | Urban Müller | 2011-07-18 18:10:50 +0000 |
---|---|---|
committer | Urban Müller | 2011-07-18 18:10:50 +0000 |
commit | 5aef82505596cfe90897e38103a7a82e2fb827e8 (patch) | |
tree | 85d07333547dfb54c733deb3710f7544b3ba1ed7 /it_debug.class | |
parent | 629d5754c89e11a320583771bb22765a64333145 (diff) | |
download | itools-5aef82505596cfe90897e38103a7a82e2fb827e8.tar.gz itools-5aef82505596cfe90897e38103a7a82e2fb827e8.tar.bz2 itools-5aef82505596cfe90897e38103a7a82e2fb827e8.zip |
link feature killed pending validation
Diffstat (limited to 'it_debug.class')
-rw-r--r-- | it_debug.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class index b86c8f9..4a091d3 100644 --- a/it_debug.class +++ b/it_debug.class @@ -146,7 +146,7 @@ function dump($args) $item = "$red$item$nored"; if (isset($_SERVER['REMOTE_ADDR']) && !$plain) # html encode content and link any urls - $item = preg_replace("#(http://[^'\"\s]+)#", '<a style="color:red" href="$1">$1</a>', htmlspecialchars($item)); + $item = htmlspecialchars($item); if (preg_match('/^[\'"]/', $var)) $r .= "$item "; |