File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -548,7 +548,7 @@ filesystem. You can access those files by looking at the
548
548
:attr: `~flask.request.files ` attribute on the request object. Each
549
549
uploaded file is stored in that dictionary. It behaves just like a
550
550
standard Python :class: `file ` object, but it also has a
551
- :meth: `~werkzeug.FileStorage.save ` method that allows you to store that
551
+ :meth: `~werkzeug.datastructures. FileStorage.save ` method that allows you to store that
552
552
file on the filesystem of the server. Here is a simple example showing how
553
553
that works::
554
554
@@ -563,10 +563,10 @@ that works::
563
563
564
564
If you want to know how the file was named on the client before it was
565
565
uploaded to your application, you can access the
566
- :attr: `~werkzeug.FileStorage.filename ` attribute. However please keep in
566
+ :attr: `~werkzeug.datastructures. FileStorage.filename ` attribute. However please keep in
567
567
mind that this value can be forged so never ever trust that value. If you
568
568
want to use the filename of the client to store the file on the server,
569
- pass it through the :func: `~werkzeug.secure_filename ` function that
569
+ pass it through the :func: `~werkzeug.utils. secure_filename ` function that
570
570
Werkzeug provides for you::
571
571
572
572
from flask import request
You can’t perform that action at this time.
0 commit comments