From 38c0c73c2f60d7c63cc4da1b20b031cda5851e11 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 2 Nov 2010 23:21:21 +0000 Subject: Added url normalization support to elgg_register_js and elgg_register_css git-svn-id: http://code.elgg.org/elgg/trunk@7207 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index e45b231d4..3f12bd10f 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -168,7 +168,7 @@ function elgg_register_external_file($type, $url, $id, $location) { $id = trim(strtolower($id)); } - $CONFIG->externals[$type][$location][$id] = $url; + $CONFIG->externals[$type][$location][$id] = elgg_normalize_url($url); return true; } -- cgit v1.2.3