Ticket #750 (closed defect: fixed)
Vidéo flash fait planter les flux RSS
Reported by: | lobotomised | Owned by: | olivier |
---|---|---|---|
Priority: | normal | Milestone: | 2.2 |
Component: | module:core | Version: | 2.1 |
Severity: | normal | Keywords: | |
Cc: |
Description
L'intégration d'une vidéo flash fait parfois planter la fonction en charge de la génération du flux RSS/ATOM. Parfois car d'après mes test, le problème ne semble pas se faire de façon systèmatique. Exemple de code HTML
<div style="text-align: center;"> <object type="application/x-shockwave-flash" data="http://www.mon-domaine.tld/index.php/?pf=player_flv.swf" height="300" width="400"> <param name="movie" value="http://www.mon-domaine.tld/index.php/?pf=player_flv.swf" /> <param name="wmode" value="transparent" /> <param name="allowFullScreen" value="true" /> <param name="FlashVars" value="title=Mon%20Titre&margin=1&showvolume=1&showtime=1&showfullscreen=1&buttonovercolor=ff9900&slidercolor1=cccccc&slidercolor2=999999&sliderovercolor=0066cc&flv=http://www.mon-domaine.tld/public/video/F3.flv&width=400&height=300" /> </object> </div>
La source du flux RSS renvoi à l'endroit où la vidéo:
<entry> <title>bla bla</title> <d'autre meta></d'autre meta> <content type="html">Ici le début du billet, et maintenant la vidéo: <b>Warning</b>: sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments in <b>/var/www/mon-domain.tld/inc/clearbricks/common/lib.html.php</b> on line <b>181</b><br /> <br /> <b>Warning</b>: sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments in <b>/var/www/mon-domain.tld/inc/clearbricks/common/lib.html.php</b> on line <b>181</b><br /> <object type="application/x-shockwave-flash" data="http://www.mon-domain.tld/index.php/?pf=player_flv.swf" width="400" height="300"> <param name="movie" value="http://www.mon-domain.tld/index.php/?pf=player_flv.swf" /> <param name="wmode" value="transparent" /> <param name="allowFullScreen" value="true" /> amp;width=400&amp;height=300" /> </object> </content> <d'autre meta></d'autre meta> </entry>
Il semblerait que ce soit l'encodage des caractères du titre de la vidéo qui soit en cause (en particulier le symbole %)
Voir ce topic pour la discussion relative.
Change History
Note: See
TracTickets for help on using
tickets.
fixed in clearbricks commit 233