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
|
||||
isaddrc(int r)
|
||||
{
|
||||
if(r && utfrune("0123456789+-/$.#,;", r)!=nil)
|
||||
if(r && utfrune("0123456789+-/$.#,;?", r)!=nil)
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue