acme: fix out of order address crash
R=rsc http://codereview.appspot.com/4690042
This commit is contained in:
parent
ce5fdeb446
commit
ff4512ee90
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ enum
|
||||||
int
|
int
|
||||||
isaddrc(int r)
|
isaddrc(int r)
|
||||||
{
|
{
|
||||||
if(r && utfrune("0123456789+-/$.#,;", r)!=nil)
|
if(r && utfrune("0123456789+-/$.#,;?", r)!=nil)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue