diff options
author | Steve Clay <steve@mrclay.org> | 2012-04-09 17:06:47 -0400 |
---|---|---|
committer | Steve Clay <steve@mrclay.org> | 2012-04-09 17:06:47 -0400 |
commit | 0577676d63ad90e1328ffd7ffaf7a93f2e73187c (patch) | |
tree | bdf87f5d4da8abf7a1ba95f25c10fc9cf67fc31c /actions | |
parent | f399afdd2e3cc072efaca069b7a874c7801b31f6 (diff) | |
download | elgg-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.php | 2 |
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('&', '&', $input['video_url']);
$parsedPlatform = videolist_parse_url($input['video_url']);
|