HCoop
/
hcoop
/
zz_old
/
portal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27edf42
)
Propagate domain validity check code to app
author
adamch
<adamch>
Sat, 4 Nov 2006 16:16:35 +0000
(16:16 +0000)
committer
adamch
<adamch>
Sat, 4 Nov 2006 16:16:35 +0000
(16:16 +0000)
app/app.sml
patch
|
blob
|
blame
|
history
diff --git
a/app/app.sml
b/app/app.sml
index
dba8cee
..
b28169f
100644
(file)
--- a/
app/app.sml
+++ b/
app/app.sml
@@
-124,7
+124,7
@@
fun apply {name, rname, gname, email, forward, uses, other} =
| _ => raise Fail "Bad next sequence val"
end
-fun isIdent ch = Char.isLower ch orelse Char.isDigit ch
+fun isIdent ch = Char.isLower ch orelse Char.isDigit ch
orelse ch = #"-"
fun validHost s =
size s > 0 andalso size s < 20 andalso List.all isIdent (String.explode s)