File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
contributing/documentation Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,3 @@ documentation:
2020:doc: `License </contributing/documentation/license >`
2121 Explains the details of the Creative Commons BY-SA 3.0 license used for the
2222 Symfony Documentation.
23-
24- .. toctree ::
25- :hidden:
26-
27- format
28- license
29- overview
30- standards
31- translations
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ There are some important things to consider in the code of the above controller:
199199#. A well-known security best practice is to never trust the input provided by
200200 users. This also applies to the files uploaded by your visitors. The ``UploadedFile ``
201201 class provides methods to get the original file extension
202- (:method: `Symfony\\ Component\\ HttpFoundation\\ File\\ UploadedFile::getExtension `),
202+ (:method: `Symfony\\ Component\\ HttpFoundation\\ File\\ UploadedFile::getClientOriginalExtension `),
203203 the original file size (:method: `Symfony\\ Component\\ HttpFoundation\\ File\\ UploadedFile::getSize `)
204204 and the original file name (:method: `Symfony\\ Component\\ HttpFoundation\\ File\\ UploadedFile::getClientOriginalName `).
205205 However, they are considered *not safe * because a malicious user could tamper
You can’t perform that action at this time.
0 commit comments