If a user has added the url www.drupal.org (and not http://www.drupal.org), need to add an "http://" before the url.

CommentFileSizeAuthor
#1 shorten-731284.patch813 bytesszadok

Comments

szadok’s picture

Status: Closed (fixed) » Active
StatusFileSize
new813 bytes

Added Patch

szadok’s picture

Status: Active » Closed (fixed)
szadok’s picture

Status: Active » Fixed

I am new to the status system...
Changed from closed to fixed. can you add to CVS?
Thanks,
S.

Status: Fixed » Closed (fixed)

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

gthing’s picture

Status: Closed (fixed) » Needs work

This is not working in the latest release version. It is creating entries for links without the http:// that do not work.

icecreamyou’s picture

Category: task » feature
Status: Needs work » Closed (won't fix)

It's not the job of Shorten URLs to fix URLs that people put in. There is intentionally no validation. Most URL shortening services with which Shorten URLs integrates will accept URLs in all kinds of formats, and it's up to the service to validate the URL. Besides, you can't assume that the protocol is HTTP, because it could just as easily be HTTPS or even a more obscure protocol like FTP.