prep_url adds http:// to mailto: urls - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: prep_url adds http:// to mailto: urls (/showthread.php?tid=2140) |
prep_url adds http:// to mailto: urls - El Forum - 07-18-2007 [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://. prep_url adds http:// to mailto: urls - El Forum - 07-31-2008 [eluser]ReGeDa[/eluser] some patch 1 year later http://ellislab.com/forums/viewthread/86796/ prep_url adds http:// to mailto: urls - El Forum - 08-01-2008 [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. |