aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2012-04-10 10:43:51 -0400
committerSteve Clay <steve@mrclay.org>2012-04-10 10:43:51 -0400
commitc70ec6161e4ef4d0daee6514da0a4d4e6b183207 (patch)
treef0fd44cc12b3ba250c369825fecc57b22233d3d0 /start.php
parent595f87c960f0d0b01ebd386686d522f25fa56b91 (diff)
downloadelgg-c70ec6161e4ef4d0daee6514da0a4d4e6b183207.tar.gz
elgg-c70ec6161e4ef4d0daee6514da0a4d4e6b183207.tar.bz2
Remove filtering on URL input
Diffstat (limited to 'start.php')
-rw-r--r--start.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/start.php b/start.php
index f423b75ed..2791b1185 100644
--- a/start.php
+++ b/start.php
@@ -297,9 +297,6 @@ function videolist_icon_url_override($hook, $type, $returnvalue, $params) {
* @return string
*/
function videolist_preprocess_url($hook, $type, $returnvalue, $params) {
- // undo get_input (htmlawed's) HTML-encoding
- $returnvalue = str_replace('&amp;', '&', $returnvalue);
-
$parsed = parse_url($returnvalue);
if (empty($parsed['host']) && ! empty($parsed['path']) && $parsed['path'][0] !== '/') {
// user probably forgot scheme