Hi - found an issue with the module, I'm on 6.x-1.2.
Let's say there is a twitter post as follows:
Hey look at this website: http://website.com/foo.
There is a period at the end of the sentence, but it isn't part of the actual URL. What is happening is that when this is rendered via twitter_pull, it shows up as this:
I.E. it is adding the period on to the end, which is incorrect and results in a 404 when you click the link.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | twitter_pull_url.patch | 566 bytes | mrryanjohnston |
Comments
Comment #1
rjbrown99 commentedCrap, I needed code blocks. Let's try again.
Comment #2
mnlund commentedWe had the same problem, and fixed it by using the pattern from the url filter in drupal instead.
We replaced line 127 and 128 with the following code:
We can make a patch for this if it's needed.
Comment #3
gnosis commentedFor the same problem in v7.x, I did similar to #2, but cut out the middleman completely and used the core function inside of twitter_pull_add_links():
It's not technically necessary to check for the filter module, as it's required by core, but I threw it in out of habit. Never trust another module to exist, I always say.
Comment #4
mrryanjohnston commentedAre there plans to roll this into this module yet? I feel as though this is a pretty big outstanding flaw. #3 worked a charm for me, by the way.
Comment #5
mrryanjohnston commentedMade this into a patch.
EDIT: see my next post
Comment #6
mrryanjohnston commentedUpdated patch and separate issue for the d7 version: #1416776: Better Email/username/url linking.