Twitter Plugin: Wrong link ecoding in PHP mode

Found a bug? Tell us!!
Post Reply
lfrantzen
Regular
Posts: 55
Joined: Fri May 02, 2008 1:24 pm
Location: Munich, Germany
Contact:

Twitter Plugin: Wrong link ecoding in PHP mode

Post by lfrantzen »

Hi,

Setup:
Powered by Serendipity 1.5.5 and PHP 5.2.17
Twitter Timeline (serendipity_plugin_twitter) 1.29

When I set the plugin to PHP mode, the link which shall lead to the tweet itself on twitter is wrong.
For instance, the tweet:

Code: Select all

Bla Bla Bla.
Saturday, February 12 2011
will have the "Saturday, February 12 2011" being a link like:
http://twitter.com/frantzencd/statuses/ ... 699193E+16
which is non existent.

If, instead, I use Javascript mode, I get the correct link:
http://twitter.com/frantzencd/statuses/ ... 5699192832

This looks a lot like some wrong number coversion in PHP. You can try it out at my blog (see left).

Alaaf,
Lars
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Twitter Plugin: Wrong link ecoding in PHP mode

Post by yellowled »

Can't really help with this, but if someone fixes this: Please also remove the align="right" from the backtweet img inserted by the plugin. It's invalid HTML. If necessary (can't see why), it should be aligned using CSS. I didn't remove it myself since I didn't think this alone if would be worth a version number incrementation to the plugin.

YL
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Twitter Plugin: Wrong link ecoding in PHP mode

Post by garvinhicking »

Hi!

Thanks for reporting! Both now fixed in 1.30...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply