Modify

#617 closed defect (fixed)

Twitter support sends HTML entities and counts them incorrectly

Reported by: ilf@… Owned by: geert
Priority: normal Milestone:
Component: Twitter Version: 1.2.7
Keywords: Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro:

Description

Since http://code.bitlbee.org/lh/bitlbee/revision/564 and thus in 1.2.7, BitlBee sends HTML entities, but the counter introduced in http://code.bitlbee.org/lh/bitlbee/revision/570 counts every single character of the entity.

I don't know what's best practice, BitlBee should either:

  • count HTML entities as single characters (should work with Twitter) or

Attachments (0)

Change History (3)

comment:1 Changed at 2010-05-19T20:05:12Z by wilmer

changeset:devel,583 fixes this at least partially.

Counting HTML entities as a single character doesn't (always) seem to work so that's not the way to go. :-(

A full solution would probably to count <> as 4 chars.

comment:2 Changed at 2010-05-22T15:23:32Z by wilmer

Resolution: fixed
Status: newclosed

I think this is fixed already. I successfully managed to tweet a message with fifty angle brackets, which means they get counted as one character, not four.

Modify Ticket

Action
as closed The owner will remain geert.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.