[sysadmin-bin] Land support for Moin's RecentChanges request_uri
- From: Andrea Veri <averi src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Land support for Moin's RecentChanges request_uri
- Date: Wed, 3 Oct 2018 15:45:34 +0000 (UTC)
commit 1b125b2fee53687b227ea5a37543822354a26f90
Author: Andrea Veri <averi redhat com>
Date: Wed Oct 3 17:45:18 2018 +0200
Land support for Moin's RecentChanges request_uri
gnomeweb/list-abusers | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomeweb/list-abusers b/gnomeweb/list-abusers
index d6f5262..a390815 100755
--- a/gnomeweb/list-abusers
+++ b/gnomeweb/list-abusers
@@ -129,7 +129,7 @@ END {
SCRIPT=$REVERSE_PROXY_SCRIPT
fi
echo $FILE
- $CAT $FILE | egrep -v '(172.31.1|10.8.0)' | egrep "(GET /buglist.cgi|(GET|POST) /wp-login.php)" | gawk
-v MINHITS="$MINHITS" "$SCRIPT" | sort -rnk 2 | head -n25 | while read ipaddr hits perhour start stop bar; do
+ $CAT $FILE | egrep -v '(172.31.1|10.8.0)' | grep -P '(GET \/buglist.cgi|(GET|POST) \/wp-login.php|GET
\/RecentChanges(?!\?action\=rss_rc))' | gawk -v MINHITS="$MINHITS" "$SCRIPT" | sort -rnk 2 | head -n25 |
while read ipaddr hits perhour start stop bar; do
start=${start//\// }
start=${start/:/ }
start=${start//[]\[]/}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]