svn: /phpdoc/ru/trunk/reference/ apache/functions/apache-note.xml exif/constants.xml strings/functions/strip-tags.xml
| From: | Sergey Panteleev | Date: | Tue, 19 Nov 2019 06:27:40 +0000 |
| Subject: | svn: /phpdoc/ru/trunk/reference/ apache/functions/apache-note.xml exif/constants.xml strings/functions/strip-tags.xml | ||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-8111@lists.php.net to get a copy of this message | ||
sergey Tue, 19 Nov 2019 06:27:40 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348320
Log:
docs(ru): Updated to English revision
Changed paths:
U phpdoc/ru/trunk/reference/apache/functions/apache-note.xml
U phpdoc/ru/trunk/reference/exif/constants.xml
U phpdoc/ru/trunk/reference/strings/functions/strip-tags.xml
Modified: phpdoc/ru/trunk/reference/apache/functions/apache-note.xml
===================================================================
--- phpdoc/ru/trunk/reference/apache/functions/apache-note.xml 2019-11-19 06:21:07 UTC (rev 348319)
+++ phpdoc/ru/trunk/reference/apache/functions/apache-note.xml 2019-11-19 06:27:40 UTC (rev 348320)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 323349 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 348317 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.apache-note" xmlns="http://docbook.org/ns/docbook">
@@ -13,8 +13,12 @@
<methodsynopsis>
<type>string</type><methodname>apache_note</methodname>
<methodparam><type>string</type><parameter>note_name</parameter></methodparam>
- <methodparam
choice="opt"><type>string</type><parameter>note_value</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
+ <methodsynopsis>
+ <type>string</type><methodname>apache_note</methodname>
+
<methodparam><type>string</type><parameter>note_name</parameter></methodparam>
+
<methodparam><type>string</type><parameter>note_value</parameter></methodparam>
+ </methodsynopsis>
<para>
Эта функция является оберткой для
<literal>table_get</literal> и
<literal>table_set</literal>. С её помощью можно
редактировать таблицу уведомлений
Modified: phpdoc/ru/trunk/reference/exif/constants.xml
===================================================================
--- phpdoc/ru/trunk/reference/exif/constants.xml 2019-11-19 06:21:07 UTC (rev 348319)
+++ phpdoc/ru/trunk/reference/exif/constants.xml 2019-11-19 06:27:40 UTC (rev 348320)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 342647 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 348315 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<appendix xml:id="exif.constants" xmlns="http://docbook.org/ns/docbook">
Modified: phpdoc/ru/trunk/reference/strings/functions/strip-tags.xml
===================================================================
--- phpdoc/ru/trunk/reference/strings/functions/strip-tags.xml 2019-11-19 06:21:07 UTC (rev 348319)
+++ phpdoc/ru/trunk/reference/strings/functions/strip-tags.xml 2019-11-19 06:27:40 UTC (rev 348320)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 348311 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 348314 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.strip-tags">
@@ -20,13 +20,6 @@
удалены все NULL-байты, HTML- и PHP-теги. Для удаления тегов
используется тот же механизм,
что и в функции <function>fgetss</function>.
</para>
- <warning>
- <para>
- Эта функция не должна использоваться для
предотвращения XSS-атак.
- Используйте более подходящие функции для этой
задачи, такие как <function>htmlspecialchars</function>
- или другие механизмы, в зависимости от контекста
вывода.
- </para>
- </warning>
</refsect1>
<refsect1 role="parameters">
@@ -140,9 +133,16 @@
</refsect1>
<refsect1 role="notes">
- &reftitle.notes;
+ &reftitle.notes;
<warning>
<para>
+ Эта функция не должна использоваться для
предотвращения XSS-атак.
+ Используйте более подходящие функции для этой
задачи, такие как <function>htmlspecialchars</function>
+ или другие механизмы, в зависимости от контекста
вывода.
+ </para>
+ </warning>
+ <warning>
+ <para>
Из-за того, что <function>strip_tags</function> не проверяет
валидность HTML, то частичные или сломанные теги
могут послужить
удалением большего количества текста или данных,
чем ожидалось.