#info="$(egrep -o '(^|&)i=[0-9]{10}_[0-9]{3}(&|$)' <<<"${QUERY_STRING}" |tr -d '&i=')"
[ "$HTTPS" = "on" ] && PROTO=https || proto=http
-. ../auth/acl.sh
+. ../auth/permissions.sh
$ACL_CREATETASK || echo "Location: ${proto}://${HTTP_HOST}/?p=Error&i=noaccess\n\n"
$ACL_CREATETASK || exit 0
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