aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2012-04-09 17:06:47 -0400
committerSteve Clay <steve@mrclay.org>2012-04-09 17:06:47 -0400
commit0577676d63ad90e1328ffd7ffaf7a93f2e73187c (patch)
treebdf87f5d4da8abf7a1ba95f25c10fc9cf67fc31c /actions
parentf399afdd2e3cc072efaca069b7a874c7801b31f6 (diff)
downloadelgg-0577676d63ad90e1328ffd7ffaf7a93f2e73187c.tar.gz
elgg-0577676d63ad90e1328ffd7ffaf7a93f2e73187c.tar.bz2
fix for ampersands getting HTML-escaped in URLs
Diffstat (limited to 'actions')
-rw-r--r--actions/videolist/edit.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/videolist/edit.php b/actions/videolist/edit.php
index 1572d88ce..107cdc917 100644
--- a/actions/videolist/edit.php
+++ b/actions/videolist/edit.php
@@ -32,6 +32,8 @@ if(!$video_guid) {
forward(REFERER);
}
+ // get_input (htmlawed) "fixes" URLs by breaking them
+ $input['video_url'] = str_replace('&amp;', '&', $input['video_url']);
$parsedPlatform = videolist_parse_url($input['video_url']);