Download & Extend

Hashtag and Account Links Broken (extra slash)

Project:Twitter
Version:7.x-3.0-beta4
Component:Code
Category:bug report
Priority:major
Assigned:Unassigned
Status:closed (fixed)
Issue tags:Needs backport to 6.x

Issue Summary

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.

Comments

#1

Priority:normal» major

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

#2

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.

AttachmentSize
twitter.patch 956 bytes

#3

The patch works for me. Thanks.

#4

that's the ticket. worked for me.

#5

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.

#6

Status:reviewed & tested by the community» fixed

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.

#7

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

#8

Status:fixed» closed (fixed)

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

nobody click here