From 96449227f77b9f1203b2ec1d8d5491b793a2cfa5 Mon Sep 17 00:00:00 2001 From: zapata Date: Sun, 10 Aug 2003 00:15:47 +0000 Subject: [PATCH] fix --- source/mir/misc/StringUtil.java | 4 ++-- templates/admin/abuse.filters.template | 18 +++++++++++++----- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/source/mir/misc/StringUtil.java b/source/mir/misc/StringUtil.java index b5b196bd..bcbc06a1 100755 --- a/source/mir/misc/StringUtil.java +++ b/source/mir/misc/StringUtil.java @@ -41,7 +41,7 @@ import gnu.regexp.REException; /** * Statische Hilfsmethoden zur Stringbehandlung * - * @version $Id: StringUtil.java,v 1.33.2.3 2003/07/03 22:47:02 zapata Exp $ + * @version $Id: StringUtil.java,v 1.33.2.4 2003/08/10 00:16:53 zapata Exp $ * @author mir-coders group * */ @@ -57,7 +57,7 @@ public final class StringUtil { //precompile regex re_newline2br = new RE("(\r?\n){1}"); re_brbr2p = new RE("(
\r?\n
){1,}"); - re_mail = new RE("([a-zA-Z0-9_.-]+)@([a-zA-Z0-9_-]+)\\.([a-zA-Z0-9_.-]+)"); + re_mail = new RE("\\b([a-zA-Z0-9_.-]+)@([a-zA-Z0-9_-]+)\\.([a-zA-Z0-9_.-]+)\\b"); re_url = new RE("((https://)|(http://)|(ftp://)){1}([a-zA-Z0-9_-]+).([a-zA-Z0-9_.:-]+)/?([^ \t\r\n<>\\)\\]]+[^ \t\r\n.,<>\\)\\]])"); re_tags = new RE("<[^>]*>",RE.REG_ICASE); re_tables = new RE("<[ \t\r\n/]*(table|td|tr)[ \t\r\n]*>",RE.REG_ICASE); diff --git a/templates/admin/abuse.filters.template b/templates/admin/abuse.filters.template index 3455f8a6..9ec9763e 100755 --- a/templates/admin/abuse.filters.template +++ b/templates/admin/abuse.filters.template @@ -26,20 +26,20 @@ lang("abuse.filter.lasthit"), ])> - + - + - + - +

+ [ < ] ${lang("back")}   + [+] ${lang("add")}   + + ${lang("abuse.showlog")} + +

+

+ -- 2.11.0