Misplaced closing parenthesis results in malformed bit.ly URL

MaffooClock - October 30, 2009 - 05:29
Project:Twitter
Version:6.x-2.6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

It appears bit.ly URLs, provided by !url-alias, are being posted like this:
(http://bit.ly/jStOa

...and the full URL ends up being this:
http://www.domain.com/node/123)

The ) ends up being part of the href="", which of course generates a malformed URL, which then causes a 404 on the Drupal site.

I've looked through the module code but haven't identified where this is happening. Also, I would expect something as obvious as this to have been reported by now, but after searching I didn't find this report, so I apologize if this is a duplicate.

It appears !tinyurl is not affected.

 
 

Drupal is a registered trademark of Dries Buytaert.