From d265871dfe205a905cd6c39e8ac4371f13848e58 Mon Sep 17 00:00:00 2001
From: Derek Jones
Date: Mon, 22 Mar 2010 11:05:01 -0500
Subject: expanded philsturgeon's bugfix to parse_url() and updated docs and
changelog
---
user_guide/changelog.html | 1 +
user_guide/helpers/url_helper.html | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
(limited to 'user_guide')
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 45c698289..21e1bf142 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -114,6 +114,7 @@ Hg Tag:
Modified delete_files() in the File Helper to return FALSE on failure.
Added an optional second parameter to byte_format() in the Number Helper to allow for decimal precision.
Added alpha, and sha1 string types to random_string() in the String Helper.
+ Modified prep_url() so as to not prepend http:// if the supplied string already has a scheme.
Other Changes
diff --git a/user_guide/helpers/url_helper.html b/user_guide/helpers/url_helper.html
index dbc5969fa..96da0c62b 100644
--- a/user_guide/helpers/url_helper.html
+++ b/user_guide/helpers/url_helper.html
@@ -236,7 +236,7 @@ $url_title = url_title($title, 'underscore', TRUE);
prep_url()
-This function will add http:// in the event it is missing from a URL. Pass the URL string to the function like this:
+This function will add http:// in the event that a scheme is missing from a URL. Pass the URL string to the function like this:
$url = "example.com";
$url = prep_url($url);
--
cgit v1.2.3-24-g4f1b