All of the hashtag links in my block have an extra slash, which sends them to a page that doesn't exist on Twitter.

The correct link is:
http://search.twitter.com/search?q=%23twitterfeed

The link is incorrectly given as:
http://search.twitter.com/search?q=%23/twitterfeed

I have the module installed on a D6 site that works fine, however the hashtag links are broken in D7.

Thanks for any info on a possibly fix.

CommentFileSizeAuthor
#2 twitter.patch956 byteswidhalmt

Comments

widhalmt’s picture

Priority: Normal » Major

I do have the same problem. This breaks a big part of the functionality of the twitter module.

widhalmt’s picture

StatusFileSize
new956 bytes

I'm not much of a Drupal developer, so I'm not completely sure I got the right part of the module corrected, but at least on my D7 installation, it works with this patch.

Please test and give me feedback.

NathanFrankel’s picture

The patch works for me. Thanks.

tbenice’s picture

that's the ticket. worked for me.

KeyboardCowboy’s picture

Title: Hashtag Links Broken (extra slash) » Hashtag and Account Links Broken (extra slash)
Status: Active » Reviewed & tested by the community

I tested this as well on 7.x-3.0-beta4 and it works.

juampynr’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: +needs backport to 6.x

I applied manually the changes suggested by @widhalmt. It is committed at http://drupalcode.org/project/twitter.git/commitdiff/d0f2f8d

Many thanks to everyone.

PD: for easy application of future patches, please read the Patching guidelines.

juampynr’s picture

Drupal 6 version reviewed. It does not contain the extra slash.

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Change from 'a module'
to 'the module'.