pidgin: c5ef0491: Some AIM screen names have periods in th...

markdoliner at pidgin.im markdoliner at pidgin.im
Sun Mar 9 14:50:43 EDT 2008


-----------------------------------------------------------------
Revision: c5ef0491bd5e808f50c7826bf06e52d8ec3f1d7c
Ancestor: f1716162f34382d8889f8e4288a808f067b91eb1
Author: markdoliner at pidgin.im
Date: 2008-03-09T18:47:09
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c5ef0491bd5e808f50c7826bf06e52d8ec3f1d7c

Modified files:
        libpurple/protocols/oscar/util.c

ChangeLog: 

Some AIM screen names have periods in them, but it's like impossible
to register one now, I think.  Fixes #5108.

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/util.c	0345c42bf7ea1402a21aedc275a827883c07f4f7
+++ libpurple/protocols/oscar/util.c	a867cc4e06ace64c1b0e87c99ddb145b26f59ebd
@@ -156,7 +156,7 @@ aim_snvalid_aim(const char *sn)
 		return FALSE;
 
 	for (i = 0; sn[i] != '\0'; i++) {
-		if (!isalnum(sn[i]) && (sn[i] != ' '))
+		if (!isalnum(sn[i]) && (sn[i] != ' ') && (sn[i] != '.'))
 			return FALSE;
 	}
 


More information about the Commits mailing list