Re: [spip-commit] r22970 - branches/spip-2.1/ecrire/inc

Bruno Bergot <[email protected]>
Newsgroups gmane.comp.web.spip.devel
Message-ID <[email protected]>
Hop,

Le 25/03/2016 13:33, [email protected] a écrit :
> Author: [email protected]
> Date: 2016-03-25 13:33:09 +0100 (ven, 25 mar 2016)
> New Revision: 22970
>
> Log:
> Des crochets dans une URL, bien qu'autorisés sans mention notable par le W3C, fait qu'une page RSS en contenant est refusée à la validation par http://www.feedvalidator.org/. On les transcode avec la notation "%" dans le cas de la balise SELF, juste après son utilisation de htmlspecialchars qui aurait pu prendre cette précaution.
>
>
> Modified:
>     branches/spip-2.1/ecrire/inc/utils.php
>
> Details: http://core.spip.org/projects/spip/repository/revisions/22970
>

J'hésite sur la manière de reporter cette modification dans les branches 
3.0 et 3.1 qui utilisent spip_htmlspecialchars() et non 
htmlspecialchars() cf 
https://core.spip.net/projects/spip/repository/entry/branches/spip-3.0/ecrire/inc/utils.php?utf8=%E2%9C%93&rev=#L445

- reporter tel quel
- reporter dans spip_htmlspecialchars()

Des avis sur la question ?

++
b_b
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.