fix for DoS vulnerability noted by Kevin S. Ho
[staff.git] / TODO
diff --git a/TODO b/TODO
index 834f3d9..771ae48 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,3 +1,13 @@
+here's a one-liner to find duplicate inputbox'es:
+
+grep inputbox staffing.html | perl -pe '/inputbox\(\"(.*)\"\)/ or die; $_="$1\n";' | sort | uniq -d
+
+(though the program should probably error out)
+
+and here's another useful one:
+
+ perl -ne 'if ( /^((.*)\s+)(\S+\@\S+)$/ ) { print "$1<$3>\n"; } else { print "$_\n"; }' P*
+
 Delivered-To: ivan-fnf-planners@420.am                                          
 To:  phred@well.com, larryc@cloudfactory.org, fnf-planners@topica.com           
 From: Rob Jellinghaus <robj@unrealities.com>