From: Steve Clay Date: Mon, 9 Apr 2012 21:06:47 +0000 (-0400) Subject: fix for ampersands getting HTML-escaped in URLs X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0577676d63ad90e1328ffd7ffaf7a93f2e73187c;p=lorea%2Felgg.git fix for ampersands getting HTML-escaped in URLs --- 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']);