Bug 23517 - better JID validation
Summary: better JID validation
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2009-08-25 12:30 UTC by Dafydd Harries
Modified: 2009-09-03 10:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.