# HG changeset patch # User Franck Deroche # Date 1279619802 -7200 # Node ID f0e59759c605645a9f1de19caa1bb0b42849f57b # Parent bb63856c865abe0689d59531f4d459f8a487ac6b Feed URL: urlencode the argument. diff -r bb63856c865a -r f0e59759c605 scald_dailymotion.module --- 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)) {