Skip to content

Commit

Permalink
updated to include original wording
Browse files Browse the repository at this point in the history
  • Loading branch information
CheeseCake87 authored Nov 6, 2024
1 parent c98abb4 commit 629fa0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/flask/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,8 @@ def download_file(name):
If the final path does not point to an existing regular file,
raises a 404 :exc:`~werkzeug.exceptions.NotFound` error.
:param directory: The directory that ``path`` must be located under. This *must not*
:param directory: The directory that ``path`` must be located under,
relative to the current application's root path. This *must not*
be a value provided by the client, otherwise it becomes insecure.
:param path: The path to the file to send, relative to
``directory``.
Expand Down

0 comments on commit 629fa0a

Please sign in to comment.