Skip to content

Commit be863c6

Browse files
authored
filter sync with EN (#2261)
1 parent 0eb9b62 commit be863c6

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

reference/filter/constants.xml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: edb34f53e1d711a5bd968d1fe1b9b41e58ed38cb Maintainer: yannick Status: ready -->
2+
<!-- EN-Revision: 9b09581bfdd1fa1c33daa740ad49599cf665cff4 Maintainer: yannick Status: ready -->
33
<!-- Reviewed: no -->
44
<appendix xml:id="filter.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
&reftitle.constants;
@@ -261,18 +261,21 @@
261261
<listitem>
262262
<simpara>
263263
Retourne &true; pour <literal>"1"</literal>,
264-
<literal>"true"</literal>,
264+
<literal>1</literal>, y compris les notations binaire, octale et hexadécimale, <literal>1.0</literal>,
265+
<literal>"true"</literal>, <literal>true</literal>,
265266
<literal>"on"</literal>,
266267
et <literal>"yes"</literal>.
267268
</simpara>
268269
<simpara>
269270
Retourne &false; pour <literal>"0"</literal>,
270-
<literal>"false"</literal>,
271+
<literal>0</literal>, y compris les notations binaire, octale et hexadécimale, <literal>0.0</literal>,
272+
<literal>"false"</literal>, <literal>false</literal>,
271273
<literal>"off"</literal>,
272274
<literal>"no"</literal>, et
273275
<literal>""</literal>.
274276
</simpara>
275277
<simpara>
278+
Les valeurs de type chaîne sont comparées sans tenir compte de la casse.
276279
La valeur retournée pour des valeurs non booléennes dépend de
277280
<constant>FILTER_NULL_ON_FAILURE</constant>.
278281
Si ce dernier est défini, &null; est retourné, sinon &false; est retourné.
@@ -495,7 +498,7 @@
495498
</term>
496499
<listitem>
497500
<simpara>
498-
Valide si le nom de l'<acronym>URL</acronym> est valide selon
501+
Valide si l'<acronym>URL</acronym> est valide selon
499502
<link xlink:href="&url.rfc;2396">RFC 2396</link>.
500503
</simpara>
501504
<variablelist xml:id="filter.constants.validation.url.options">
@@ -941,6 +944,9 @@
941944
<member><literal>&amp;</literal></member>
942945
</simplelist>
943946
et sur les caractères ayant une valeur ASCII inférieure à 32.
947+
Contrairement au filtre <constant>FILTER_SANITIZE_FULL_SPECIAL_CHARS</constant>,
948+
le filtre <constant>FILTER_SANITIZE_SPECIAL_CHARS</constant> ignore l’indicateur
949+
<constant>FILTER_FLAG_NO_ENCODE_QUOTES</constant>.
944950
</para>
945951
<simpara>
946952
En option, il peut supprimer des caractères spécifiés s'il est utilisé avec les

0 commit comments

Comments
 (0)