C'est flippant tout ce silence radio dernierement... j'ai loupe quelque
chose ?



2013/11/6 Christopher Crouzet <[email protected]>

> Hello,
>
> je faisais des petits tests pour voir si les commentaires marchaient bien,
> et je me suis retrouve face a quelque chose qui ressemble a un bug : si
> dans le champ pour mettre le website on met une URL invalide sans aucun
> point (ex : http://abc ), dans ce cas le plugin antispam se plaint avec
> les erreurs suivantes :
>
> Notice: Undefined offset: -1 in
> /Users/christopher/src/3rdparty/dotclear/trunk/plugins/antispam/filters/class.dc.filter.linkslookup.php
> on line 53
> Warning: Cannot modify header information - headers already sent by
> (output started at
> /Users/christopher/src/3rdparty/dotclear/trunk/plugins/antispam/filters/class.dc.filter.linkslookup.php:53)
> in
> /Users/christopher/src/3rdparty/dotclear/trunk/inc/public/lib.urlhandlers.php
> on line 471
> Warning: Cannot modify header information - headers already sent by
> (output started at
> /Users/christopher/src/3rdparty/dotclear/trunk/plugins/antispam/filters/class.dc.filter.linkslookup.php:53)
> in
> /Users/christopher/src/3rdparty/dotclear/trunk/inc/public/lib.urlhandlers.php
> on line 483
> Warning: Cannot modify header information - headers already sent by
> (output started at
> /Users/christopher/src/3rdparty/dotclear/trunk/plugins/antispam/filters/class.dc.filter.linkslookup.php:53)
> in
> /Users/christopher/src/3rdparty/dotclear/trunk/inc/libs/clearbricks/common/lib.http.php
> on line 269
> Warning: Cannot modify header information - headers already sent by
> (output started at
> /Users/christopher/src/3rdparty/dotclear/trunk/plugins/antispam/filters/class.dc.filter.linkslookup.php:53)
> in
> /Users/christopher/src/3rdparty/dotclear/trunk/inc/libs/clearbricks/common/lib.http.php
> on line 271
> Warning: Cannot modify header information - headers already sent by
> (output started at
> /Users/christopher/src/3rdparty/dotclear/trunk/plugins/antispam/filters/class.dc.filter.linkslookup.php:53)
> in
> /Users/christopher/src/3rdparty/dotclear/trunk/inc/libs/clearbricks/common/lib.http.php
> on line 271
> Warning: Cannot modify header information - headers already sent by
> (output started at
> /Users/christopher/src/3rdparty/dotclear/trunk/plugins/antispam/filters/class.dc.filter.linkslookup.php:53)
> in
> /Users/christopher/src/3rdparty/dotclear/trunk/inc/libs/clearbricks/common/lib.http.php
> on line 271
> Warning: Cannot modify header information - headers already sent by
> (output started at
> /Users/christopher/src/3rdparty/dotclear/trunk/plugins/antispam/filters/class.dc.filter.linkslookup.php:53)
> in
> /Users/christopher/src/3rdparty/dotclear/trunk/inc/public/lib.urlhandlers.php
> on line 108
> Warning: Cannot modify header information - headers already sent by
> (output started at
> /Users/christopher/src/3rdparty/dotclear/trunk/plugins/antispam/filters/class.dc.filter.linkslookup.php:53)
> in
> /Users/christopher/src/3rdparty/dotclear/trunk/inc/libs/clearbricks/common/lib.http.php
> on line 294
>
>
> Ne connaissant pas le plugin ni les consequences que ca pourrait avoir, je
> n'ai propose aucun patch mais peut-etre qu'il suffirait simplement de
> considerer un comment comme etant un spam si il n'y a pas de point dans
> l'URL ?
>
> Version de test : 2516:aa1afa62ecc6
>
> Christopher.
>
>
-- 
Dev mailing list - [email protected] - http://ml.dotclear.org/listinfo/dev

Répondre à