]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Fix for 140-char replies being unexpectedly cropped when bridged to Twitter.
authorBrion Vibber <brion@pobox.com>
Fri, 22 Oct 2010 19:10:11 +0000 (12:10 -0700)
committerBrion Vibber <brion@pobox.com>
Fri, 22 Oct 2010 19:10:11 +0000 (12:10 -0700)
commite292d8fb65305e4cffa3d0e15fefdcd5631bd24b
treef101b4d2c89bc431dc75b8010a3d9e4e1920c56a
parent6841a8d09389e6ce0612b63ce831d149e559d254
Fix for 140-char replies being unexpectedly cropped when bridged to Twitter.

This drops the '@' -> ' @' hack for CURL meta-chars in outgoing Twitter bridge, added in commit 04b95c25 back in the day.
The Twitter bridge has since been switched from using direct CURL calls to using HTTPClient, which even with the CURL backend enabled doesn't trigger this issue, as POST parameters are formatted directly.
Prepending the space before we did the message cropping was leading to 140-char messages getting cropped unnecessarily, which was confusing:

Examples of broken messages:
http://identi.ca/notice/57172587 vs http://twitter.com/marjoleink/status/28398050691
http://identi.ca/notice/57172878 vs http://twitter.com/marjoleink/status/28398492563
plugins/TwitterBridge/twitter.php