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:
20
20
:doc: `License </contributing/documentation/license >`
21
21
Explains the details of the Creative Commons BY-SA 3.0 license used for the
22
22
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:
199
199
#. A well-known security best practice is to never trust the input provided by
200
200
users. This also applies to the files uploaded by your visitors. The ``UploadedFile ``
201
201
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 `),
203
203
the original file size (:method: `Symfony\\ Component\\ HttpFoundation\\ File\\ UploadedFile::getSize `)
204
204
and the original file name (:method: `Symfony\\ Component\\ HttpFoundation\\ File\\ UploadedFile::getClientOriginalName `).
205
205
However, they are considered *not safe * because a malicious user could tamper
You can’t perform that action at this time.
0 commit comments