History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SMACK-151
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alex Wenckus
Reporter: LG
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Smack

use getBytes("UTF-8"); instead of getBytes();

Created: 07/16/06 10:45 AM   Updated: 07/17/06 12:17 PM
Component/s: Core
Affects Version/s: 2.2.1
Fix Version/s: 3.0.0 Beta 1

Time Tracking:
Not Specified

Support Plan Customer Issue: No
Resolution Date: 07/17/06 12:17 PM
Acceptance Test - Add?: No


 Description  « Hide
_createVCardFromXml in org.jivesoftware.smackx.provider.VCardProvider seems to have a bug, depending on the local charset.
It may be much more safe to use UTF-8 to encode the supplied string.

There are some other lines of code where getBytes() is used, they may also cause trouble.

The Wildfire code should also be reviewed for similar lines of code.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.