• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
prep_url adds http:// to mailto: urls

#1
[eluser]Al James[/eluser]
Using prep_url() in the url_helper.php adds http:// to mailto: urls!

Really (in my mind) it should check for any URL protocol (ftp: etc...) before adding the http://.

#2
[eluser]ReGeDa[/eluser]
some patch 1 year later

http://ellislab.com/forums/viewthread/86796/

#3
[eluser]Derek Allard[/eluser]
To be fair, the docs are pretty clear that it will add http:// if it is missing. Prep url was intended for, well, URLs.

Al, give auto_link() a shot, I think that's what you're looking for.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.