#CHEMIN : changement de comportement en 3.1?

Maïeul <[email protected]>
Newsgroups gmane.comp.web.spip.devel
Message-ID <[email protected]>
Coucou toutes et tous,

en voulant améliorer la compatibilité de hash_documents avec spip 3.1 je 
me suis apercu d'un curieux changement de comportement de 3.1 pour #CHEMIN.

Soit un site ne contenant PAS de fichier IMG/.htaccess ni de fichier 
squelettes/toto.png

#CHEMIN{IMG/.htaccess} > rend IMG/.htaccess en 3.0 (trouve chemin d'un 
fichier inexistant) et rien en 3.1
#CHEMIN{toto.png} > rend rien dans les 2 cas.

Ma question est de savoir si ce changement de comportement est normal. 
Uniformisation de #CHEMIN pour qu'il ne renvoie que des chemins 
rééellement existant?

Si ce changement est normal, je l'ajouterai à 
http://contrib.spip.net/Porter-un-plugin-SPIP-3-0-vers-SPIP-3-1

Maïeul
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.