acme: fix out of order address crash

R=rsc
http://codereview.appspot.com/4690042
This commit is contained in:
Russ Cox 2011-07-10 20:32:01 -04:00
parent ce5fdeb446
commit ff4512ee90

View file

@ -27,7 +27,7 @@ enum
int
isaddrc(int r)
{
if(r && utfrune("0123456789+-/$.#,;", r)!=nil)
if(r && utfrune("0123456789+-/$.#,;?", r)!=nil)
return TRUE;
return FALSE;
}