Modify

#1077 closed defect (fixed)

[PATCH] Twitter URL length calculated wrong

Reported by: bitlbee.org@… Owned by:
Priority: normal Milestone:
Component: BitlBee Version: devel
Keywords: twitter Cc:
IRC client+version: Client-independent Operating System: Linux
OS version/distro:

Description

Heya,

in some corner cases, I noticed my tweets weren't getting accepted by the server because they were too long, but bitlbee didn't reject them.

It seems this is related to https://dev.twitter.com/blog/upcoming-tco-changes

The attached patch changes the default for target_url_length from 20 to 23 (not sure if 22 or 23 would be more sensible there, your decision)

Attachments (1)

urllen.patch (795 bytes) - added by bitlbee.org@… at 2013-07-13T18:13:39Z.
URL length patch against current BZR head

Download all attachments as: .zip

Change History (2)

Changed at 2013-07-13T18:13:39Z by bitlbee.org@…

Attachment: urllen.patch added

URL length patch against current BZR head

comment:1 Changed at 2013-07-13T18:55:48Z by wilmer

Resolution: fixed
Status: newclosed

Ah yes, I did notice that too sometimes. Thanks for figuring it out. I went for 22, since there's a snippet of code that adds 1 for https URLs already.

changeset:devel,997.

That's some serious innovation at Twitter again. So sick of their crap.

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.