summaryrefslogtreecommitdiffstats
path: root/cgi-bin/ml-request
diff options
context:
space:
mode:
authorChristopher Faylor <cgf@gcc.gnu.org>2012-04-12 14:09:48 +0000
committerChristopher Faylor <cgf@gcc.gnu.org>2012-04-12 14:09:48 +0000
commit6a9ec236a0db6e35ed43c60b165ec1bc74d99e10 (patch)
tree635511badbfe87293b991b69bca53eeb6bbc2995 /cgi-bin/ml-request
parentFix bad html marker in previous commit. (diff)
downloadgcc-wwwdocs-6a9ec236a0db6e35ed43c60b165ec1bc74d99e10.tar.gz
gcc-wwwdocs-6a9ec236a0db6e35ed43c60b165ec1bc74d99e10.tar.bz2
gcc-wwwdocs-6a9ec236a0db6e35ed43c60b165ec1bc74d99e10.tar.xz
.
Diffstat (limited to 'cgi-bin/ml-request')
-rwxr-xr-xcgi-bin/ml-request13
1 files changed, 9 insertions, 4 deletions
diff --git a/cgi-bin/ml-request b/cgi-bin/ml-request
index 00e542bd..9a21d0bd 100755
--- a/cgi-bin/ml-request
+++ b/cgi-bin/ml-request
@@ -86,13 +86,18 @@ then
86 exit 0 86 exit 0
87fi 87fi
88 88
89 89# echo "Content-type: text/html"
90if expr "$email" : '^[a-zA-Z0-9._+-]*@[a-zA-Z0-9._-]*$' -a "$listname" : '^[a-zA-Z0-9._+-]*$'>/dev/null 90# echo "<HTML>"
91then 91# echo "<head>"
92# echo "<TITLE>HELLO</TITLE>"
93# echo "</head>"
94# echo "<body>echo "LISTNAME $listname</body></HTML>"
95
96if expr "$email" : '[a-zA-Z0-9._+-]*@[a-zA-Z0-9._-]*$' && expr "$listname" : '[a-zA-Z0-9._+-]*$'; then
92 hasgoodform=1 97 hasgoodform=1
93else 98else
94 hasgoodform=0 99 hasgoodform=0
95fi 100fi >/dev/null
96 101
97if [ -z "$listname" ] 102if [ -z "$listname" ]
98then 103then