Pārlūkot izejas kodu

[DOCUMENTATION] Japanese sync 20111, 20223, 20229, 20142

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20254 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp 16 gadi atpakaļ
vecāks
revīzija
fc58b3785b

+ 4 - 1
documentation/manual/ja/module_specs/Zend_Application-AvailableResources.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20076 -->
+<!-- EN-Revision: 20111 -->
 <sect1 id="zend.application.available-resources" xmlns:xi="http://www.w3.org/2001/XInclude">
     <title>利用できるリソースプラグイン</title>
 
@@ -23,6 +23,9 @@
         <xi:fallback><xi:include href="../../en/module_specs/Zend_Application-AvailableResources-Mail.xml" /></xi:fallback>
     </xi:include>
     <xi:include href="Zend_Application-AvailableResources-Modules.xml" />
+    <xi:include href="Zend_Application-AvailableResources-Multidb.xml">
+        <xi:fallback><xi:include href="../../en/module_specs/Zend_Application-AvailableResources-Multidb.xml" /></xi:fallback>
+    </xi:include>
     <xi:include href="Zend_Application-AvailableResources-Navigation.xml" />
     <xi:include href="Zend_Application-AvailableResources-Router.xml" />
     <xi:include href="Zend_Application-AvailableResources-Session.xml" />

+ 4 - 3
documentation/manual/ja/module_specs/Zend_Filter-Set.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 19380 -->
+<!-- EN-Revision: 20223 -->
 <sect1 id="zend.filter.set" xmlns:xi="http://www.w3.org/2001/XInclude">
 
     <title>標準のフィルタクラス群</title>
@@ -44,6 +44,9 @@
         </para>
     </sect2>
 
+    <xi:include href="Zend_Filter-Boolean.xml">
+        <xi:fallback ><xi:include href="../../en/module_specs/Zend_Filter-Boolean.xml" /></xi:fallback>
+    </xi:include>
     <xi:include href="Zend_Filter-Callback.xml" />
     <xi:include href="Zend_Filter-Compress.xml">
         <xi:fallback ><xi:include href="../../en/module_specs/Zend_Filter-Compress.xml" /></xi:fallback>
@@ -115,8 +118,6 @@
             ただし明示的に許可したタグは取り除きません。
             どのタグを許可するかだけではなく、すべてのタグにおいてどの属性を許可するか、
             特定のタグだけで許可する属性は何かなども指定できます。
-            また、コメント (<command>&lt;!-- ... --&gt;</command>)
-            を除去するかそのまま残すかも指定できます。
         </para>
     </sect2>
 

+ 4 - 1
documentation/manual/ja/module_specs/Zend_Validate-Set.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20020 -->
+<!-- EN-Revision: 20229 -->
 <sect1 id="zend.validate.set" xmlns:xi="http://www.w3.org/2001/XInclude">
 
     <title>標準のバリデーションクラス群</title>
@@ -188,6 +188,9 @@ if ($validator->isValid($iban)) {
     <xi:include href="Zend_Validate-Ip.xml">
         <xi:fallback><xi:include href="../../en/module_specs/Zend_Validate-Ip.xml" /></xi:fallback>
     </xi:include>
+    <xi:include href="Zend_Validate-Isbn.xml">
+        <xi:fallback><xi:include href="../../en/module_specs/Zend_Validate-Isbn.xml" /></xi:fallback>
+    </xi:include>
 
     <sect2 id="zend.validate.set.less_than">
         <title>LessThan</title>

+ 64 - 1
documentation/manual/ja/ref/migration-110.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 19819 -->
+<!-- EN-Revision: 20142 -->
 <sect1 id="migration.110">
     <title>Zend Framework 1.10</title>
 
@@ -72,6 +72,31 @@ $authors = $feed->getAuthors()->getValues();
 
     <sect2 id="migration.110.zend.file.transfer">
         <title>Zend_File_Transfer</title>
+
+        <!-- TODO : to be translated -->
+        <sect3 id="migration.110.zend.file.transfer.files">
+            <title>Security change</title>
+
+            <para>
+                For security reasons <classname>Zend_File_Transfer</classname> does no longer store
+                the original mimetype and filesize which is given from the requesting client into
+                its internal storage. Instead the real values will be detected at initiation.
+            </para>
+
+            <para>
+                Additionally the original values within <varname>$_FILES</varname> will be
+                overridden within the real values at initiation. This makes also
+                <varname>$_FILES</varname> secure.
+            </para>
+
+            <para>
+                When you are in need of the original values you can eighter store them before
+                initiating <classname>Zend_File_Transfer</classname> or use the
+                <property>disableInfos</property> option at initiation. Note that this option is
+                useless when its given after initiation.
+            </para>
+        </sect3>
+
         <sect3 id="migration.110.zend.file.transfer.count">
             <title>Count 検証</title>
 
@@ -118,6 +143,44 @@ $authors = $feed->getAuthors()->getValues();
         </sect3>
     </sect2>
 
+    <!-- TODO : to be translated -->
+    <sect2 id="migration.110.zend.filter.html-entities">
+        <title>Zend_Filter_HtmlEntities</title>
+
+        <para>
+            In order to default to a more secure character encoding,
+            <classname>Zend_Filter_HtmlEntities</classname> now defaults to <acronym>UTF-8</acronym>
+            instead of <acronym>ISO-8859-1</acronym>.
+        </para>
+
+        <para>
+            Additionally, because the actual mechanism is dealing with character encodings and not
+            character sets, two new methods have been added, <methodname>setEncoding()</methodname>
+            and <methodname>getEncoding()</methodname>. The previous methods
+            <methodname>setCharSet()</methodname> and <methodname>setCharSet()</methodname> are now
+            deprecated and proxy to the new methods. Finally, instead of using the protected members
+            directly within the <methodname>filter()</methodname> method, these members are
+            retrieved by their explicit accessors. If you were extending the filter in the past,
+            please check your code and unit tests to ensure everything still continues to work.
+        </para>
+    </sect2>
+
+    <sect2 id="migration.110.zend.filter.strip-tags">
+        <title>Zend_Filter_StripTags</title>
+
+        <para>
+            <classname>Zend_Filter_StripTags</classname> contains a flag,
+            <varname>commentsAllowed</varname>, that, in previous versions, allowed you to
+            optionally whitelist HTML comments in HTML text filtered by the class. However, this
+            opens code enabling the flag to <acronym>XSS</acronym> attacks, particularly in Internet
+            Explorer (which allows specifying conditional functionality via HTML comments). Starting
+            in version 1.9.7 (and backported to versions 1.8.5 and 1.7.9), the
+            <varname>commentsAllowed</varname> flag no longer has any meaning, and all HTML
+            comments, including those containing other HTML tags or nested commments, will be
+            stripped from the final output of the filter.
+        </para>
+    </sect2>
+
     <sect2 id="migration.110.zend.translate">
         <title>Zend_Translate</title>