]> git.plutz.net Git - busy/blobdiff - write/taskmeta.cgi
added hidden submit button to deceive spambots
[busy] / write / taskmeta.cgi
index a5e2ffc99cdfdc053990439598c1638486f8e878..b5c22f4c7857adf298e96676c9a0e5f89174acf6 100755 (executable)
@@ -50,6 +50,8 @@ if [ -n "${CONTENT_LENGTH}" -a "${CONTENT_LENGTH}" -gt 0 ]; then
     comment="$(echo -e "${comment}" |sed 's/\r//g;s/\\/\\\\/g')"
   elif (egrep -xq 'cancel=.+' <<<"${line}"); then
     cancel="true"
+  elif (egrep -xq 'submit=Robots click here' <<<"${line}"); then
+    cancel="true"
   fi
 done
 fi