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

[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://.

some patch 1 year later


[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  

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