[Bug 35239] Filter out illegal user names as per RFC 2812

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 21 14:51:29 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=35239

--- Comment #3 from Will Thompson <will.thompson at collabora.co.uk> 2011-03-21 06:51:29 PDT ---
Review of attachment 44376:
 --> (https://bugs.freedesktop.org/review?bug=35239&attachment=44376)

::: src/protocol.c
@@ +75,3 @@
+      const char ch = username[i];
+
+  g_assert (value);

Any reason not to use '\0', '\n', '\r', ' ' and '@' rather than their numeric
forms here?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list