If a user has added the url www.drupal.org (and not http://www.drupal.org), need to add an "http://" before the url.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | shorten-731284.patch | 813 bytes | szadok |
If a user has added the url www.drupal.org (and not http://www.drupal.org), need to add an "http://" before the url.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | shorten-731284.patch | 813 bytes | szadok |
Comments
Comment #1
szadok commentedAdded Patch
Comment #2
szadok commentedComment #3
szadok commentedI am new to the status system...
Changed from closed to fixed. can you add to CVS?
Thanks,
S.
Comment #5
gthing commentedThis is not working in the latest release version. It is creating entries for links without the http:// that do not work.
Comment #6
icecreamyou commentedIt'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.