When some one add http:// in their "Home Page" textbox,
then submit it, there will be double http:// in their Home Page
I'm new on drupal, so I just modify it into:
eregi_replace('^http://','',check_url($entry['anonwebsite']))
(line 622) in guestbook.module
~may be there is another simple solution / function
~it's just my quick and dirty trick, but it seems work on me :D
Comments
Comment #1
Santa Claus commentedYou need to change guestbook.module from the original code:
to the new code:
If you sure that your users don't enter web-links without 'http://', you can use only this simple code:
Comment #2
sunComment #3
sunGood shot. Committed a proper fix for this bug.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.