aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 23:21:21 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 23:21:21 +0000
commit38c0c73c2f60d7c63cc4da1b20b031cda5851e11 (patch)
tree68b251b2d410443ec2a81c83724aca0e9f5ec72f /engine/lib
parentc554c1b3f81011723b56b93f9fe19122a6fdba70 (diff)
downloadelgg-38c0c73c2f60d7c63cc4da1b20b031cda5851e11.tar.gz
elgg-38c0c73c2f60d7c63cc4da1b20b031cda5851e11.tar.bz2
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
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
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;
}