aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-26 22:11:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-26 22:11:45 +0000
commite7ecd1b3359006d0a3022eb314e96a56ff5cf8ae (patch)
treee8198dcfe7837bd902f4c1c7a0b6f17493af238a
parent80ed9db424856062db037121ce95c109232684e9 (diff)
downloadpfsense-packages-e7ecd1b3359006d0a3022eb314e96a56ff5cf8ae.tar.gz
pfsense-packages-e7ecd1b3359006d0a3022eb314e96a56ff5cf8ae.tar.bz2
pfsense-packages-e7ecd1b3359006d0a3022eb314e96a56ff5cf8ae.zip
Trim extra characters
-rw-r--r--packages/snort/snort_blocked.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/snort/snort_blocked.php b/packages/snort/snort_blocked.php
index bb019195..b08ef0f0 100644
--- a/packages/snort/snort_blocked.php
+++ b/packages/snort/snort_blocked.php
@@ -86,7 +86,7 @@ include("head.inc");
continue;
$counter++;
echo "<tr>";
- echo "<td align=\"center\" valign=\"top\"'><a href='snort_blocked.php?todelete=" . urlencode($ip) . "'>";
+ echo "<td align=\"center\" valign=\"top\"'><a href='snort_blocked.php?todelete=" . trim(urlencode($ip)) . "'>";
echo "<img title=\"Delete\" border=\"0\" name='todelete' id='todelete' alt=\"Delete\" src=\"./themes/{$g['theme']}/images/icons/icon_x.gif\"></a></td>";
echo "<td>&nbsp;{$ip}</td>";
echo "</tr>";