Mercurial > defr > drupal > scald > scald_dailymotion
changeset 6:f0e59759c605
Feed URL: urlencode the argument.
author | Franck Deroche <franck@defr.org> |
---|---|
date | Tue, 20 Jul 2010 11:56:42 +0200 |
parents | bb63856c865a |
children | f3040f91b65d |
files | scald_dailymotion.module |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scald_dailymotion.module Mon Jul 19 15:26:43 2010 +0200 +++ b/scald_dailymotion.module Tue Jul 20 11:56:42 2010 +0200 @@ -156,7 +156,7 @@ * - pubDate: the publication date of the video */ function scald_dailymotion_feed($type, $id) { - $url = DAILYMOTION_RSS . $type .'/'. $id; + $url = DAILYMOTION_RSS . $type .'/'. urlencode($id); $xml = drupal_http_request($url); $items = array(); if ($xml->code != 404 && !empty($xml->data)) {