Bug 23517

Summary: better JID validation
Product: Telepathy Reporter: Dafydd Harries <dafydd.harries>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium Keywords: patch
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Dafydd Harries 2009-08-25 12:30:31 UTC
Gabble accepts as valid all sorts of weird JIDs. It should reject them.

Branch here:

http://git.collabora.co.uk/?p=user/daf/telepathy-gabble;a=shortlog;h=refs/heads/jids
Comment 1 Will Thompson 2009-09-02 06:12:21 UTC
gabble_encode_jid should g_return_val_if_fail (domain != NULL, NULL);

That, astonishingly, is my only comment.
Comment 2 Will Thompson 2009-09-03 10:47:39 UTC
Daf secretly merged this without updating the bug!

Bad Daf.

This will be in 0.8.2, and 0.9.0 when that happens.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.