소스 검색

[ZF-8733] Zend_File_Transfer:

- migration note related to $_FILES added

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20142 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 년 전
부모
커밋
78d54628c5
1개의 변경된 파일23개의 추가작업 그리고 0개의 파일을 삭제
  1. 23 0
      documentation/manual/en/ref/migration-110.xml

+ 23 - 0
documentation/manual/en/ref/migration-110.xml

@@ -73,6 +73,29 @@ $authors = $feed->getAuthors()->getValues();
     <sect2 id="migration.110.zend.file.transfer">
         <title>Zend_File_Transfer</title>
 
+        <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 validation</title>